Skip to content

Commit

Permalink
Remove extra padding
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns authored and chchwy committed Apr 30, 2024
1 parent fe6880f commit 852dc3a
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 102 deletions.
10 changes: 5 additions & 5 deletions app/ui/cameraoptionswidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,19 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>2</number>
<number>0</number>
</property>
<property name="leftMargin">
<number>3</number>
<number>0</number>
</property>
<property name="topMargin">
<number>3</number>
<number>0</number>
</property>
<property name="rightMargin">
<number>3</number>
<number>0</number>
</property>
<property name="bottomMargin">
<number>3</number>
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
Expand Down
201 changes: 104 additions & 97 deletions app/ui/tooloptions.ui
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="leftMargin">
<number>0</number>
<number>3</number>
</property>
<property name="topMargin">
<number>0</number>
<number>3</number>
</property>
<property name="rightMargin">
<number>0</number>
<number>3</number>
</property>
<property name="bottomMargin">
<number>0</number>
<number>3</number>
</property>
<item>
<widget class="QScrollArea" name="scrollArea">
Expand All @@ -53,25 +53,25 @@
<rect>
<x>0</x>
<y>0</y>
<width>166</width>
<height>340</height>
<width>147</width>
<height>334</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>6</number>
<number>0</number>
</property>
<property name="topMargin">
<number>6</number>
<number>0</number>
</property>
<property name="rightMargin">
<number>6</number>
<number>0</number>
</property>
<property name="bottomMargin">
<number>6</number>
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
Expand Down Expand Up @@ -146,24 +146,101 @@
</layout>
</item>
<item>
<widget class="QCheckBox" name="useFeatherBox">
<property name="toolTip">
<string>Enable or disable feathering</string>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="topMargin">
<number>0</number>
</property>
<property name="text">
<string>Use Feather</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showInfoBox">
<property name="text">
<string>Show Size and Diff.</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<item>
<widget class="QCheckBox" name="useFeatherBox">
<property name="toolTip">
<string>Enable or disable feathering</string>
</property>
<property name="text">
<string>Use Feather</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showInfoBox">
<property name="text">
<string>Show Size and Diff.</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fillContourBox">
<property name="toolTip">
<string>Contour will be filled</string>
</property>
<property name="text">
<string>Fill Contour</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useBezierBox">
<property name="toolTip">
<string>Use Bézier curves to create curved lines</string>
</property>
<property name="text">
<string comment="Tool options">Bézier</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="usePressureBox">
<property name="toolTip">
<string>Vary strokes based on pressure when drawing on a tablet</string>
</property>
<property name="text">
<string comment="Tool options">Pressure</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useAABox">
<property name="toolTip">
<string>Use anti-aliasing to create smooth edges</string>
</property>
<property name="text">
<string comment="Brush AA">Anti-Aliasing</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="makeInvisibleBox">
<property name="toolTip">
<string>Make invisible</string>
</property>
<property name="text">
<string comment="Tool options">Invisible</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="preserveAlphaBox">
<property name="toolTip">
<string>Preserve Alpha</string>
</property>
<property name="text">
<string comment="Tool options">Alpha</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="vectorMergeBox">
<property name="toolTip">
<string>Merge vector lines when they are close together</string>
</property>
<property name="text">
<string comment="Vector line merge (Tool options)">Merge</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
Expand All @@ -178,76 +255,6 @@
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="fillContourBox">
<property name="toolTip">
<string>Contour will be filled</string>
</property>
<property name="text">
<string>Fill Contour</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useBezierBox">
<property name="toolTip">
<string>Use Bézier curves to create curved lines</string>
</property>
<property name="text">
<string comment="Tool options">Bézier</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="usePressureBox">
<property name="toolTip">
<string>Vary strokes based on pressure when drawing on a tablet</string>
</property>
<property name="text">
<string comment="Tool options">Pressure</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useAABox">
<property name="toolTip">
<string>Use anti-aliasing to create smooth edges</string>
</property>
<property name="text">
<string comment="Brush AA">Anti-Aliasing</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="makeInvisibleBox">
<property name="toolTip">
<string>Make invisible</string>
</property>
<property name="text">
<string comment="Tool options">Invisible</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="preserveAlphaBox">
<property name="toolTip">
<string>Preserve Alpha</string>
</property>
<property name="text">
<string comment="Tool options">Alpha</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="vectorMergeBox">
<property name="toolTip">
<string>Merge vector lines when they are close together</string>
</property>
<property name="text">
<string comment="Vector line merge (Tool options)">Merge</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4" stretch="0,1">
<item>
Expand Down

0 comments on commit 852dc3a

Please sign in to comment.