Skip to content

Commit

Permalink
settings: improve spacing on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Sep 8, 2023
1 parent 6b15c3f commit 9aee5fc
Showing 1 changed file with 141 additions and 60 deletions.
201 changes: 141 additions & 60 deletions src/SettingsDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,12 @@
</item>
<item>
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<property name="rowWrapPolicy">
<enum>QFormLayout::DontWrapRows</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_22">
<property name="text">
Expand All @@ -369,6 +375,9 @@
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_10">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="lineEdit_defaultWalletDir">
<property name="readOnly">
Expand Down Expand Up @@ -426,6 +435,12 @@
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEdit_applicationDir">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
Expand Down Expand Up @@ -635,6 +650,12 @@
</item>
<item>
<widget class="QFrame" name="frame_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
Expand All @@ -643,74 +664,134 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QCheckBox" name="checkBox_hideBalance">
<property name="text">
<string>Hide balance</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_hideUpdateNotifications">
<property name="text">
<string>Hide update notifications</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_hideTransactionNotifications">
<property name="text">
<string>Hide transaction notifications</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_warnOnExternalLink">
<property name="text">
<string>Warn before opening external link</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<layout class="QVBoxLayout" name="verticalLayout_19" stretch="1,1,1,1,1,1">
<item>
<widget class="QCheckBox" name="checkBox_lockOnInactivity">
<property name="text">
<string>Lock wallet after inactivity of</string>
</property>
</widget>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QCheckBox" name="checkBox_hideBalance">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Hide balance</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QSpinBox" name="spinBox_lockOnInactivity">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>120</number>
</property>
</widget>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<widget class="QCheckBox" name="checkBox_hideUpdateNotifications">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Hide update notifications</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_25">
<property name="text">
<string>minutes</string>
</property>
</widget>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QCheckBox" name="checkBox_hideTransactionNotifications">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Hide transaction notifications</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
<widget class="QCheckBox" name="checkBox_warnOnExternalLink">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Warn before opening external link</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_15">
<item>
<widget class="QCheckBox" name="checkBox_lockOnInactivity">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Lock wallet after inactivity of</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_lockOnInactivity">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>120</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_25">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>minutes</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QCheckBox" name="checkBox_lockOnMinimize">
<property name="text">
<string>Lock wallet after minimizing the window</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="checkBox_lockOnMinimize">
<property name="text">
<string>Lock wallet after minimizing the window</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
Expand Down

0 comments on commit 9aee5fc

Please sign in to comment.