3e827f4ece
Word wrapping allows ElideLabel to resize first inside flexible sized areas such as the contents widget of a scrollarea. This allows the contents widget to properly resize itself to avoid horizontal scrolling. Word-wrapping also enables the widget to resize vertically. To avoid that ElideLabel is set to a fixed height based on font metrics. An overloaded method `setFixedHeight` has been added to disable it when desired. EglSyncGroup: Replace estimated path label with a ElideLabel because the displayed message was expanding the scrollarea.
60 lines
1.6 KiB
XML
60 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>EGLSyncGroup</class>
|
|
<widget class="QGroupBox" name="EGLSyncGroup">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>217</width>
|
|
<height>88</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string notr="true">EGLSyncGroup</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Sync with Epic Games Launcher</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QFormLayout" name="egl_sync_layout">
|
|
<property name="labelAlignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="egl_path_edit_label">
|
|
<property name="text">
|
|
<string>Prefix/Manifest path</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<layout class="QHBoxLayout" name="egl_path_edit_layout"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="egl_sync_check_label">
|
|
<property name="text">
|
|
<string>Enable automatic sync</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="egl_sync_check">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="2">
|
|
<layout class="QVBoxLayout" name="import_export_layout"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|