Changes to Combobox
This commit is contained in:
parent
26c196cdb0
commit
14085a525b
|
@ -55,6 +55,7 @@ function Locales.init()
|
|||
|
||||
addEvent( function()
|
||||
localeComboBox = g_ui.createWidget('ComboBox', rootWidget:recursiveGetChildById('rightButtonsPanel'))
|
||||
localeComboBox:setFixedSize(true)
|
||||
for key,value in pairs(installedLocales) do
|
||||
localeComboBox:addOption(value.languageName, value.name)
|
||||
end
|
||||
|
|
|
@ -41,6 +41,7 @@ function Skins.init()
|
|||
|
||||
addEvent( function()
|
||||
skinComboBox = g_ui.createWidget('ComboBox', rootWidget:recursiveGetChildById('rightButtonsPanel'))
|
||||
skinComboBox:setFixedSize(true)
|
||||
for key,value in pairs(installedSkins) do
|
||||
skinComboBox:addOption(value.name)
|
||||
end
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
ComboBoxPopupMenuButton < UIButton
|
||||
height: 18
|
||||
height: 20
|
||||
font: verdana-11px-antialised
|
||||
text-align: left
|
||||
text-offset: 2 0
|
||||
text-offset: 4 0
|
||||
color: #aaaaaa
|
||||
background-color: alpha
|
||||
|
||||
|
@ -23,14 +23,13 @@ ComboBoxPopupMenuSeparator < UIWidget
|
|||
ComboBoxPopupMenu < UIPopupMenu
|
||||
image-source: /images/combobox_square.png
|
||||
image-clip: 0 60 89 20
|
||||
image-border: 1
|
||||
image-border-top: 0
|
||||
padding: 1
|
||||
image-border-left: 1
|
||||
image-border-right: 1
|
||||
|
||||
ComboBox < UIComboBox
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
size: 86 20
|
||||
size: 89 20
|
||||
text-offset: 3 0
|
||||
text-align: left
|
||||
image-source: /images/combobox_square.png
|
||||
|
|
Loading…
Reference in New Issue