mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Set AutoSizedEditBox as Static by default
Would look very odd anyway to use it for editable text, with the widget resizing as you type.
This commit is contained in:
parent
010a7ea5b3
commit
b9341925f2
2 changed files with 10 additions and 0 deletions
|
@ -66,6 +66,13 @@ namespace Gui
|
|||
notifySizeChange (this);
|
||||
}
|
||||
|
||||
void AutoSizedEditBox::initialiseOverride()
|
||||
{
|
||||
Base::initialiseOverride();
|
||||
setNeedKeyFocus(false);
|
||||
setEditStatic(true);
|
||||
}
|
||||
|
||||
void AutoSizedEditBox::setPropertyOverride(const std::string& _key, const std::string& _value)
|
||||
{
|
||||
if (_key == "ExpandDirection")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue