Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".

- Split out label from PopUp widget
- Aligned every widget on all layouts so GUI becomes to look nice again
- Moved textHAlign to layout properties

svn-id: r41266
This commit is contained in:
Eugene Sandulenko 2009-06-06 17:52:44 +00:00
parent b0f7f2e8d4
commit b0db1b5ed0
21 changed files with 643 additions and 318 deletions

View file

@ -44,7 +44,8 @@ RemapDialog::RemapDialog()
_keymapper = g_system->getEventManager()->getKeymapper();
assert(_keymapper);
_kmPopUp = new GUI::PopUpWidget(this, "KeyRemapper.Popup", "Keymap: ");
_kmPopUpDesc = new GUI::StaticTextWidget(this, "KeyRemapper.PopupDesc", "Keymap:");
_kmPopUp = new GUI::PopUpWidget(this, "KeyRemapper.Popup");
_scrollBar = new GUI::ScrollBarWidget(this, 0, 0, 0, 0);