Skip to content

Commit

Permalink
widen tool dialogs (#1074)
Browse files Browse the repository at this point in the history
This fixes the layout for the Show Toolbars groupbox in the Seamly2d Application Preferences from over lapping the checkbox text. Apparently the MacOS build wants the Show Toolbars content in a vertical layout as well where it seems the Windows build could care less.
  • Loading branch information
DSCaskey committed Mar 16, 2024
1 parent e87d092 commit b79d727
Show file tree
Hide file tree
Showing 38 changed files with 423 additions and 414 deletions.
231 changes: 117 additions & 114 deletions src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui
Original file line number Diff line number Diff line change
Expand Up @@ -81,39 +81,39 @@
<attribute name="title">
<string>Appearance</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_7">
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="toolbarsGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
<bold>true</bold>
</font>
</property>
<property name="title">
<string>Toolbars</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_10">
<widget class="QGroupBox" name="toolbarsGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
<bold>true</bold>
</font>
</property>
<property name="title">
<string>Toolbars</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="toolBarStyle_CheckBox">
<property name="sizePolicy">
Expand Down Expand Up @@ -265,88 +265,91 @@
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="outputGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
<bold>true</bold>
</font>
</property>
<property name="title">
<string>Graphical output</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QCheckBox" name="graphicsOutput_CheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Use anti-aliasing</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="outputGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
<bold>true</bold>
</font>
</property>
<property name="title">
<string>Graphical output</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<widget class="QCheckBox" name="graphicsOutput_CheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Use anti-aliasing</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>129</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
Expand Down
18 changes: 9 additions & 9 deletions src/libs/vtools/dialogs/tools/dialogalongline.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>270</width>
<width>350</width>
<height>450</height>
</rect>
</property>
Expand Down Expand Up @@ -54,7 +54,7 @@
<widget class="QLabel" name="labelEditNamePoint">
<property name="minimumSize">
<size>
<width>90</width>
<width>100</width>
<height>0</height>
</size>
</property>
Expand Down Expand Up @@ -104,7 +104,7 @@
<widget class="QLabel" name="labelFirstPoint">
<property name="minimumSize">
<size>
<width>90</width>
<width>100</width>
<height>0</height>
</size>
</property>
Expand Down Expand Up @@ -151,7 +151,7 @@
<widget class="QLabel" name="labelSecondPoint">
<property name="minimumSize">
<size>
<width>90</width>
<width>100</width>
<height>0</height>
</size>
</property>
Expand Down Expand Up @@ -229,7 +229,7 @@
</property>
<property name="minimumSize">
<size>
<width>90</width>
<width>100</width>
<height>0</height>
</size>
</property>
Expand Down Expand Up @@ -325,7 +325,7 @@
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<width>10</width>
<height>20</height>
</size>
</property>
Expand Down Expand Up @@ -459,7 +459,7 @@
</property>
<property name="minimumSize">
<size>
<width>90</width>
<width>100</width>
<height>0</height>
</size>
</property>
Expand Down Expand Up @@ -521,7 +521,7 @@
</property>
<property name="minimumSize">
<size>
<width>90</width>
<width>100</width>
<height>0</height>
</size>
</property>
Expand Down Expand Up @@ -577,7 +577,7 @@
</property>
<property name="minimumSize">
<size>
<width>90</width>
<width>100</width>
<height>0</height>
</size>
</property>
Expand Down

0 comments on commit b79d727

Please sign in to comment.