button size/text fix

This commit is contained in:
Rafael 2016-12-03 13:03:14 +01:00
parent 49ecc712a0
commit 0012416d13
6 changed files with 6 additions and 7 deletions

View file

@ -479,8 +479,7 @@
<string extracomment="OK, Cancel, Apply">&amp;Cancel</string> <string extracomment="OK, Cancel, Apply">&amp;Cancel</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="dialog-cancel"> <iconset theme="dialog-cancel"/>
<normaloff>.</normaloff>.</iconset>
</property> </property>
</widget> </widget>
</item> </item>

View file

@ -189,8 +189,7 @@
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="dialog-close"> <iconset theme="dialog-close"/>
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
<bool>false</bool> <bool>false</bool>

View file

@ -227,6 +227,7 @@ void ProfileInterface::dialogNextPictureRequested(QWidget *dialog)
{ {
QString newWidgetKey = pictureKeyList.at(picIndex); QString newWidgetKey = pictureKeyList.at(picIndex);
SnapmaticWidget *picWidget = (SnapmaticWidget*)widgets.key(newWidgetKey); SnapmaticWidget *picWidget = (SnapmaticWidget*)widgets.key(newWidgetKey);
picDialog->setMaximumSize(picDialog->width(), QWIDGETSIZE_MAX);
picDialog->setSnapmaticPicture(picWidget->getPicture(), picIndex); picDialog->setSnapmaticPicture(picWidget->getPicture(), picIndex);
//picDialog->adaptNewDialogSize(); //picDialog->adaptNewDialogSize();
} }

View file

@ -147,8 +147,7 @@
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="dialog-close"> <iconset theme="dialog-close"/>
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
<bool>true</bool> <bool>true</bool>
@ -169,7 +168,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>625</width> <width>625</width>
<height>19</height> <height>21</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">

View file

@ -21,6 +21,7 @@
<file>back.png</file> <file>back.png</file>
<file>next.png</file> <file>next.png</file>
<file>960x536.png</file> <file>960x536.png</file>
<file>empty1x16.png</file>
</qresource> </qresource>
<qresource prefix="/global"> <qresource prefix="/global">
<file>global.de.ini</file> <file>global.de.ini</file>

BIN
res/empty1x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B