From 0012416d13b8f2b121e8c6d86c641f1434ef147c Mon Sep 17 00:00:00 2001 From: Rafael Date: Sat, 3 Dec 2016 13:03:14 +0100 Subject: [PATCH] button size/text fix --- OptionsDialog.ui | 3 +-- PictureDialog.ui | 3 +-- ProfileInterface.cpp | 1 + UserInterface.ui | 5 ++--- res/app.qrc | 1 + res/empty1x16.png | Bin 0 -> 157 bytes 6 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 res/empty1x16.png diff --git a/OptionsDialog.ui b/OptionsDialog.ui index 16c08bf..7ee8e98 100755 --- a/OptionsDialog.ui +++ b/OptionsDialog.ui @@ -479,8 +479,7 @@ &Cancel - - .. + diff --git a/PictureDialog.ui b/PictureDialog.ui index 50c65bd..ecf1214 100755 --- a/PictureDialog.ui +++ b/PictureDialog.ui @@ -189,8 +189,7 @@ &Close - - .. + false diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp index 7e9ed4f..9afa86f 100755 --- a/ProfileInterface.cpp +++ b/ProfileInterface.cpp @@ -227,6 +227,7 @@ void ProfileInterface::dialogNextPictureRequested(QWidget *dialog) { QString newWidgetKey = pictureKeyList.at(picIndex); SnapmaticWidget *picWidget = (SnapmaticWidget*)widgets.key(newWidgetKey); + picDialog->setMaximumSize(picDialog->width(), QWIDGETSIZE_MAX); picDialog->setSnapmaticPicture(picWidget->getPicture(), picIndex); //picDialog->adaptNewDialogSize(); } diff --git a/UserInterface.ui b/UserInterface.ui index 567d15f..69a2883 100755 --- a/UserInterface.ui +++ b/UserInterface.ui @@ -147,8 +147,7 @@ &Close - - .. + true @@ -169,7 +168,7 @@ 0 0 625 - 19 + 21 diff --git a/res/app.qrc b/res/app.qrc index 9bbc080..172dfd1 100755 --- a/res/app.qrc +++ b/res/app.qrc @@ -21,6 +21,7 @@ back.png next.png 960x536.png + empty1x16.png global.de.ini diff --git a/res/empty1x16.png b/res/empty1x16.png new file mode 100644 index 0000000000000000000000000000000000000000..6ab4481f5b1e8f5e90688a296e75a1b7763b6cc9 GIT binary patch literal 157 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{F!3HF+&llYe5-1LGcVbv~PUa<$!;&U>c zv7h@-A}f&3S>O>_%)r2R7=#&*=dVZs3QCr^MwA5Sr