Skip to content

Commit

Permalink
fix display of line selection widget
Browse files Browse the repository at this point in the history
  • Loading branch information
bleykauf committed Sep 25, 2024
1 parent 2677d6c commit 846b9ca
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions linien-gui/linien_gui/ui/locking_panel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox_5">
<widget class="QGroupBox" name="pIDGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand Down Expand Up @@ -435,7 +435,7 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<widget class="QGroupBox" name="autolockAlgorithmGroupBox">
<property name="title">
<string>Autolock algorithm</string>
</property>
Expand Down Expand Up @@ -519,50 +519,6 @@
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="autolockSelectingWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_7">
<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_2">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Click and drag over the line you want to lock to&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="abortSelectingPushButton">
<property name="styleSheet">
<string notr="true">background-color: #d40000;</string>
</property>
<property name="text">
<string>Abort</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="manualModeWidget">
Expand Down Expand Up @@ -671,6 +627,50 @@
</widget>
</widget>
</item>
<item>
<widget class="QWidget" name="autolockSelectingWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_7">
<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_2">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Click and drag over the line you want to lock to&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="abortSelectingPushButton">
<property name="styleSheet">
<string notr="true">background-color: #d40000;</string>
</property>
<property name="text">
<string>Abort</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="LockStatusWidget" name="lockStatusWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2">
Expand Down

0 comments on commit 846b9ca

Please sign in to comment.