more opengl graphics fixes

This commit is contained in:
Eduardo Bart
2012-06-02 15:58:30 -03:00
parent cde81666b8
commit 257f652bb7
13 changed files with 34 additions and 15 deletions

View File

@@ -181,8 +181,6 @@ function Terminal.addLine(text, color)
local numLines = terminalBuffer:getChildCount() + 1
if numLines > MaxLogLines then
terminalBuffer:getChildByIndex(1):destroy()
else
terminalBuffer:setHeight(terminalBuffer:getHeight() + LabelHeight)
end
-- create new line label

View File

@@ -14,7 +14,7 @@ UIWindow
id: terminalBuffer
layout:
type: verticalBox
align-bottom: true
fit-children: true
focusable: false
anchors.left: parent.left
anchors.right: parent.right

View File

@@ -70,8 +70,8 @@ TopPanel
anchors.right: parent.right
UILabel
size: 68 16
text-align: right
text-auto-resize: true
color: white
id: frameCounter
anchors.top: parent.top