Many UI fixes.

This commit is contained in:
Henrique Santiago
2012-08-24 05:18:15 -03:00
parent 0c18e4ff28
commit f97fa65d37
8 changed files with 88 additions and 81 deletions

View File

@@ -22,3 +22,11 @@ MenuLabel < Label
GameLabel < UILabel
font: verdana-11px-antialised
color: #bbbbbb
FrameCounterLabel < Label
@onSetup: |
self.updateEvent = cycleEvent(function()
local text = 'FPS: ' .. g_app.getBackgroundPaneFps()
self:setText(text)
end, 1000)
@onDestroy: self.updateEvent:cancel()

View File

@@ -68,7 +68,6 @@ MiniWindow < UIMiniWindow
$!on:
width: 0
margin-right: 4
ResizeBorder
id: bottomResizeBorder
@@ -88,6 +87,7 @@ MiniWindowContents < ScrollablePanel
margin-left: 3
margin-bottom: 3
margin-top: 22
margin-right: 1
vertical-scrollbar: miniwindowScrollBar
BorderlessGameWindow < UIWindow