summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-17 19:11:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-17 19:12:35 +0300
commit93d2e433330dc361b5ca7013ba4b05c3c361b7d8 (patch)
tree7a37587d72486d677349e10da0dce77a9bb2a0d3 /src/client.cpp
parent4364a3fcae6b7994f3ee92811ce8d000dcb785ce (diff)
downloadplus-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/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 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