diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-17 19:11:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-17 19:12:35 +0300 |
commit | 93d2e433330dc361b5ca7013ba4b05c3c361b7d8 (patch) | |
tree | 7a37587d72486d677349e10da0dce77a9bb2a0d3 /src | |
parent | 4364a3fcae6b7994f3ee92811ce8d000dcb785ce (diff) | |
download | plus-93d2e433330dc361b5ca7013ba4b05c3c361b7d8.tar.gz plus-93d2e433330dc361b5ca7013ba4b05c3c361b7d8.tar.bz2 plus-93d2e433330dc361b5ca7013ba4b05c3c361b7d8.tar.xz plus-93d2e433330dc361b5ca7013ba4b05c3c361b7d8.zip |
fix about button moving on window resize.
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 3 | ||||
-rw-r--r-- | src/localconsts.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 24a10574e..afb4c236b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2837,6 +2837,9 @@ void Client::resizeVideo(int actualWidth, x -= mThemesButton->getWidth() + mButtonSpacing; mThemesButton->setPosition(x, mButtonPadding); + x -= mAboutButton->getWidth() + mButtonSpacing; + mAboutButton->setPosition(x, mButtonPadding); + x -= mHelpButton->getWidth() + mButtonSpacing; mHelpButton->setPosition(x, mButtonPadding); #ifdef ANDROID diff --git a/src/localconsts.h b/src/localconsts.h index f9f9f4ba0..92c36d92a 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -95,7 +95,7 @@ // #define ANDROID_LOG 1 // profiler -#define USE_PROFILER 1 +// #define USE_PROFILER 1 // draw calls // #define DEBUG_DRAW_CALLS 1 |