mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 17:15:32 +00:00
Quick keys menu fixes
This commit is contained in:
parent
5be1c81913
commit
9179a019df
2 changed files with 3 additions and 2 deletions
|
@ -370,7 +370,8 @@ namespace MWGui
|
|||
mCancelButton->eventMouseButtonClick += MyGUI::newDelegate(mParent, &QuickKeysMenu::onCancelButtonClicked);
|
||||
|
||||
|
||||
int maxWidth = mItemButton->getTextSize ().width + 24;
|
||||
int maxWidth = mLabel->getTextSize ().width + 24;
|
||||
maxWidth = std::max(maxWidth, mItemButton->getTextSize ().width + 24);
|
||||
maxWidth = std::max(maxWidth, mMagicButton->getTextSize ().width + 24);
|
||||
maxWidth = std::max(maxWidth, mUnassignButton->getTextSize ().width + 24);
|
||||
maxWidth = std::max(maxWidth, mCancelButton->getTextSize ().width + 24);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MyGUI type="Layout">
|
||||
<Widget type="Window" skin="MW_Dialog" position="0 0 16 154" layer="Windows" name="_Main">
|
||||
<Widget type="Window" skin="MW_DialogNoTransp" position="0 0 16 154" layer="Windows" name="_Main">
|
||||
|
||||
<Widget type="TextBox" skin="SandText" position="8 8 0 18" name="Label">
|
||||
<Property key="Caption" value="#{sQuickMenu1}"/>
|
||||
|
|
Loading…
Reference in a new issue