patch_manager: layout fixes

This commit is contained in:
Megamouse 2020-09-06 12:27:35 +02:00
parent 46e8b4f561
commit ca07605835
2 changed files with 52 additions and 6 deletions

View File

@ -31,7 +31,7 @@ class patch_manager_dialog : public QDialog
QString patch_version;
};
const QString tr_all_titles = tr("All titles - Warning: These patches will apply globally to all games. Use with caution!");
const QString tr_all_titles = tr("All titles - Warning: These patches apply to all games!");
const QString tr_all_serials = tr("All serials");
const QString tr_all_versions = tr("All versions");

View File

@ -60,6 +60,9 @@
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="indentation">
<number>20</number>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
@ -79,7 +82,7 @@
<property name="title">
<string>Patch Information</string>
</property>
<layout class="QVBoxLayout" name="patch_info_gb_layout">
<layout class="QVBoxLayout" name="patch_info_gb_layout" stretch="0,0,0,0,0,0,0,1,0">
<item>
<widget class="QGroupBox" name="gb_title">
<property name="title">
@ -217,13 +220,56 @@
</property>
<layout class="QVBoxLayout" name="notes_layout">
<item>
<widget class="QLabel" name="label_notes">
<property name="text">
<string/>
<widget class="QScrollArea" name="scrollArea_notes">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="wordWrap">
<property name="lineWidth">
<number>0</number>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents_notes">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>127</width>
<height>85</height>
</rect>
</property>
<layout class="QVBoxLayout" name="scrollAreaWidgetContents_notes">
<property name="spacing">
<number>0</number>
</property>
<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="label_notes">
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>