mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Many UI fixes.
This commit is contained in:
@@ -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()
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user