From 7d09a5d644131e794db0d4d8e20c90ea55e4afc6 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Mon, 27 Mar 2017 13:33:28 +0400 Subject: [PATCH] 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 @@ - - + + -