From 7d09a5d644131e794db0d4d8e20c90ea55e4afc6 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Mon, 27 Mar 2017 13:33:28 +0400 Subject: [PATCH 1/3] Progress bars vertical alignment --- apps/openmw/mwgui/dialogue.hpp | 2 +- files/mygui/openmw_dialogue_window.layout | 6 ++++-- files/mygui/openmw_dialogue_window.skin.xml | 10 ---------- files/mygui/openmw_progress.skin.xml | 2 +- files/mygui/openmw_stats_window.layout | 19 +++++++++---------- files/mygui/openmw_text.skin.xml | 4 ++-- files/mygui/openmw_tooltips.layout | 4 ++-- .../openmw_wait_dialog_progressbar.layout | 5 ++--- 8 files changed, 21 insertions(+), 31 deletions(-) diff --git a/apps/openmw/mwgui/dialogue.hpp b/apps/openmw/mwgui/dialogue.hpp index 769c32af7..d34574e89 100644 --- a/apps/openmw/mwgui/dialogue.hpp +++ b/apps/openmw/mwgui/dialogue.hpp @@ -167,7 +167,7 @@ namespace MWGui Gui::MWList* mTopicsList; MyGUI::ScrollBar* mScrollBar; MyGUI::ProgressBar* mDispositionBar; - MyGUI::EditBox* mDispositionText; + MyGUI::TextBox* mDispositionText; PersuasionDialog mPersuasionDialog; }; diff --git a/files/mygui/openmw_dialogue_window.layout b/files/mygui/openmw_dialogue_window.layout index a0a4bf441..a85bd5b02 100644 --- a/files/mygui/openmw_dialogue_window.layout +++ b/files/mygui/openmw_dialogue_window.layout @@ -16,9 +16,11 @@ - - + + + diff --git a/files/mygui/openmw_dialogue_window.skin.xml b/files/mygui/openmw_dialogue_window.skin.xml index 3f7987f7a..33c1e7d62 100644 --- a/files/mygui/openmw_dialogue_window.skin.xml +++ b/files/mygui/openmw_dialogue_window.skin.xml @@ -1,14 +1,4 @@ - - - - - - - - - - diff --git a/files/mygui/openmw_progress.skin.xml b/files/mygui/openmw_progress.skin.xml index 428c7f7df..324307d67 100644 --- a/files/mygui/openmw_progress.skin.xml +++ b/files/mygui/openmw_progress.skin.xml @@ -59,7 +59,7 @@ - + diff --git a/files/mygui/openmw_stats_window.layout b/files/mygui/openmw_stats_window.layout index 1d9b75b9b..d9860ae20 100644 --- a/files/mygui/openmw_stats_window.layout +++ b/files/mygui/openmw_stats_window.layout @@ -20,9 +20,9 @@ - - - + + + @@ -40,10 +40,9 @@ - - - - + + + @@ -61,9 +60,9 @@ - - - + + + diff --git a/files/mygui/openmw_text.skin.xml b/files/mygui/openmw_text.skin.xml index b7a893580..89f3690ec 100644 --- a/files/mygui/openmw_text.skin.xml +++ b/files/mygui/openmw_text.skin.xml @@ -134,12 +134,12 @@ color_misc=0,205,205 # ???? - + - + diff --git a/files/mygui/openmw_tooltips.layout b/files/mygui/openmw_tooltips.layout index d47c27976..6d4421702 100644 --- a/files/mygui/openmw_tooltips.layout +++ b/files/mygui/openmw_tooltips.layout @@ -165,7 +165,7 @@ - + @@ -211,7 +211,7 @@ - + diff --git a/files/mygui/openmw_wait_dialog_progressbar.layout b/files/mygui/openmw_wait_dialog_progressbar.layout index 92fcb15cf..8147abbdf 100644 --- a/files/mygui/openmw_wait_dialog_progressbar.layout +++ b/files/mygui/openmw_wait_dialog_progressbar.layout @@ -4,10 +4,9 @@ - - + + - From c9cf0ec9771f0200213ec768d25690564a3c73aa Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Mon, 27 Mar 2017 14:38:40 +0400 Subject: [PATCH 2/3] Buttons and widgets captions vertical alignment --- files/mygui/openmw_button.skin.xml | 2 +- files/mygui/openmw_edit.skin.xml | 2 +- files/mygui/openmw_loading_screen.layout | 2 +- files/mygui/openmw_resources.xml | 2 +- files/mygui/openmw_savegame_dialog.layout | 1 + files/mygui/openmw_text.skin.xml | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/files/mygui/openmw_button.skin.xml b/files/mygui/openmw_button.skin.xml index 18055a7e5..09a4c0e39 100644 --- a/files/mygui/openmw_button.skin.xml +++ b/files/mygui/openmw_button.skin.xml @@ -81,7 +81,7 @@ - + diff --git a/files/mygui/openmw_edit.skin.xml b/files/mygui/openmw_edit.skin.xml index 5ec48f752..a53becdaa 100644 --- a/files/mygui/openmw_edit.skin.xml +++ b/files/mygui/openmw_edit.skin.xml @@ -23,7 +23,7 @@ - + diff --git a/files/mygui/openmw_loading_screen.layout b/files/mygui/openmw_loading_screen.layout index 92bc5aa4c..89b35d05e 100644 --- a/files/mygui/openmw_loading_screen.layout +++ b/files/mygui/openmw_loading_screen.layout @@ -6,7 +6,7 @@ - + diff --git a/files/mygui/openmw_resources.xml b/files/mygui/openmw_resources.xml index 9a6cfd038..662d78ab7 100644 --- a/files/mygui/openmw_resources.xml +++ b/files/mygui/openmw_resources.xml @@ -101,7 +101,7 @@ - + diff --git a/files/mygui/openmw_savegame_dialog.layout b/files/mygui/openmw_savegame_dialog.layout index 40288f0f5..ca11b65f8 100644 --- a/files/mygui/openmw_savegame_dialog.layout +++ b/files/mygui/openmw_savegame_dialog.layout @@ -45,6 +45,7 @@ + diff --git a/files/mygui/openmw_text.skin.xml b/files/mygui/openmw_text.skin.xml index 89f3690ec..e539347d0 100644 --- a/files/mygui/openmw_text.skin.xml +++ b/files/mygui/openmw_text.skin.xml @@ -21,7 +21,7 @@ color_misc=0,205,205 # ???? - + From a35d4334c386928645ebfbcbcf3b1e3750a4dfe5 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Mon, 27 Mar 2017 14:54:04 +0400 Subject: [PATCH 3/3] Encumberance text fix --- files/mygui/openmw_text.skin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/mygui/openmw_text.skin.xml b/files/mygui/openmw_text.skin.xml index e539347d0..e442e37ee 100644 --- a/files/mygui/openmw_text.skin.xml +++ b/files/mygui/openmw_text.skin.xml @@ -139,7 +139,7 @@ color_misc=0,205,205 # ???? - +