fix interface glitches

This commit is contained in:
Eduardo Bart 2011-10-29 18:47:16 -02:00
parent f4f0d7e960
commit eeb46ac795
5 changed files with 9 additions and 18 deletions

View File

@ -13,7 +13,6 @@ Module
require 'constants'
require 'util'
require 'widget'
require 'ui'
require 'messagebox/messagebox'
require 'dispatcher'

View File

@ -3,6 +3,7 @@ Button < UIButton
background-color: white
color: #f0ad4dff
size: 106 24
text-translate: 0 0
border-image:
source: /core_ui/images/button.png
border: 5

View File

@ -1,7 +1,7 @@
LineEdit < UILineEdit
font: helvetica-12px
size: 86 20
text-margin: 3
text margin: 3
border-image:
source: /core_ui/images/panel_flat.png
border: 1

View File

@ -3,21 +3,12 @@ Window < UIWindow
size: 200 200
opacity: 255
background-color: white
head:
height: 20
border-image:
source: /core_ui/images/window.png
size: 256 19
border: 4
border.bottom: 3
body:
border-image:
source: /core_ui/images/window.png
size: 256 237
offset: 0 19
border: 4
border.top: 0
head height: 20
head text align: center
border-image:
source: /core_ui/images/window.png
border: 4
border.top: 20
state.pressed:
opacity: 192

View File

@ -52,4 +52,4 @@ MainWindow
anchors.bottom: parent.bottom
margin.bottom: 16
margin.right: 16
onClick: function(self) GFX.fadeOut(self:getParent()) end
onClick: function(self) self:getParent():destroy() end