diff options
author | Eugene Sandulenko | 2009-06-06 17:52:44 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-06-06 17:52:44 +0000 |
commit | b0db1b5ed0634dee707d234cfda23201c648cf98 (patch) | |
tree | 940e4143fab6667cbfdfeaf53f0fd1b4a1b288f3 /backends | |
parent | b0f7f2e8d412b65a7bb950f50d1fa511fd6ef946 (diff) | |
download | scummvm-rg350-b0db1b5ed0634dee707d234cfda23201c648cf98.tar.gz scummvm-rg350-b0db1b5ed0634dee707d234cfda23201c648cf98.tar.bz2 scummvm-rg350-b0db1b5ed0634dee707d234cfda23201c648cf98.zip |
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
Diffstat (limited to 'backends')
-rw-r--r-- | backends/keymapper/remap-dialog.cpp | 3 | ||||
-rw-r--r-- | backends/keymapper/remap-dialog.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/backends/keymapper/remap-dialog.cpp b/backends/keymapper/remap-dialog.cpp index d53ae588f8..8b0a5c2e36 100644 --- a/backends/keymapper/remap-dialog.cpp +++ b/backends/keymapper/remap-dialog.cpp @@ -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); diff --git a/backends/keymapper/remap-dialog.h b/backends/keymapper/remap-dialog.h index abec8a2d5c..88f099520a 100644 --- a/backends/keymapper/remap-dialog.h +++ b/backends/keymapper/remap-dialog.h @@ -76,6 +76,7 @@ protected: Rect _keymapArea; + GUI::StaticTextWidget *_kmPopUpDesc; GUI::PopUpWidget *_kmPopUp; //GUI::ContainerWidget *_container; GUI::ScrollBarWidget *_scrollBar; |