expanding AboutDialog for DPI changes

This commit is contained in:
Rafael 2016-07-24 02:51:21 +02:00
parent 54a0ad6bb2
commit 669c75a0d8

View file

@ -18,53 +18,18 @@
</property> </property>
<layout class="QVBoxLayout" name="vlAbout"> <layout class="QVBoxLayout" name="vlAbout">
<item> <item>
<widget class="QScrollArea" name="saAbout"> <widget class="QLabel" name="labAbout">
<property name="frameShape"> <property name="sizePolicy">
<enum>QFrame::NoFrame</enum> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="frameShadow"> <property name="text">
<enum>QFrame::Plain</enum> <string>&lt;span style=&quot; font-weight:600;&quot;&gt;gta5sync&lt;/span&gt;&lt;br/&gt;
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="saAboutContent">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>357</width>
<height>211</height>
</rect>
</property>
<layout class="QVBoxLayout" name="vlAboutContent">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="labAbout">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&lt;span style=&quot; font-weight:600;&quot;&gt;gta5sync&lt;/span&gt;&lt;br/&gt;
&lt;br/&gt; &lt;br/&gt;
A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames&lt;br/&gt; A project for viewing and sync Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames&lt;br/&gt;
&lt;br/&gt; &lt;br/&gt;
Project version: %1&lt;br/&gt; Project version: %1&lt;br/&gt;
Project build: %4, %5&lt;br/&gt; Project build: %4, %5&lt;br/&gt;
@ -72,20 +37,16 @@ Compiled with Qt %2&lt;br/&gt;
Running with Qt %3&lt;br/&gt; Running with Qt %3&lt;br/&gt;
&lt;br/&gt; &lt;br/&gt;
Copyright &amp;copy; &lt;a href=&quot;https://github.com/Syping/&quot;&gt;Syping&lt;/a&gt; 2016&lt;br/&gt;gta5sync is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</string> Copyright &amp;copy; &lt;a href=&quot;https://github.com/Syping/&quot;&gt;Syping&lt;/a&gt; 2016&lt;br/&gt;gta5sync is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>false</bool>
</property> </property>
<property name="openExternalLinks"> <property name="openExternalLinks">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget>
</item>
</layout>
</widget>
</widget> </widget>
</item> </item>
<item> <item>