Skip to content

Commit

Permalink
TPath*Browse: don't use system spacing
Browse files Browse the repository at this point in the history
The macOS style has default spacing of 8 pixels, whereas fusion (the
default style for linux) has a default spacing of 6 pixels.

At the present time, we don't require the whole GUI to look
pixel-identical on every platform.  However, we _would_ like the
fixed-size "library widgets" to have the same size.
  • Loading branch information
gperciva committed Nov 15, 2023
1 parent b303526 commit ade9504
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/forms/TPathComboBrowse.ui
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
<enum>Qt::StrongFocus</enum>
</property>
<layout class="QVBoxLayout" name="layout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
Expand Down
3 changes: 3 additions & 0 deletions lib/forms/TPathLineBrowse.ui
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
<enum>Qt::StrongFocus</enum>
</property>
<layout class="QVBoxLayout" name="layout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
Expand Down

0 comments on commit ade9504

Please sign in to comment.