fix combobox style

This commit is contained in:
Eduardo Bart 2012-01-17 04:43:48 -02:00
parent 452d1a76b0
commit 9997b258b9
3 changed files with 11 additions and 3 deletions

View File

@ -123,3 +123,12 @@ function Hotkeys.unbindKeyDown(keyComboDesc, widget)
widget.boundKeyDownCombos[keyComboDesc] = nil
end
end
function Hotkeys.unbindKeyPress(keyComboDesc, widget)
widget = widget or rootWidget
if widget.boundKeyPressCombos == nil then return end
local keyComboDesc = retranslateKeyComboDesc(keyComboDesc)
if keyComboDesc then
widget.boundKeyPressCombos[keyComboDesc] = nil
end
end

View File

@ -4,7 +4,7 @@ ComboBoxPopupMenuButton < UIButton
text-align: left
text-offset: 2 0
color: #aaaaaa
background-color: white
background-color: alpha
$hover:
color: #ffffff

View File

@ -442,8 +442,7 @@ bool UILineEdit::onKeyPress(uchar keyCode, int keyboardModifiers, bool wouldFilt
} else
return false;
return true;
} else
dump << "what?";
}
return false;
}