fix interface glitches
This commit is contained in:
parent
f4f0d7e960
commit
eeb46ac795
|
@ -13,7 +13,6 @@ Module
|
|||
require 'constants'
|
||||
require 'util'
|
||||
require 'widget'
|
||||
require 'ui'
|
||||
require 'messagebox/messagebox'
|
||||
require 'dispatcher'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,21 +3,12 @@ Window < UIWindow
|
|||
size: 200 200
|
||||
opacity: 255
|
||||
background-color: white
|
||||
head:
|
||||
height: 20
|
||||
head height: 20
|
||||
head text align: center
|
||||
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
|
||||
border.top: 20
|
||||
|
||||
state.pressed:
|
||||
opacity: 192
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue