Skip to content

Commit

Permalink
Fix visibility of info buttons and details when updater is disabled i…
Browse files Browse the repository at this point in the history
…n general settings

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Jul 22, 2024
1 parent aad1297 commit fe22bf8
Showing 1 changed file with 34 additions and 46 deletions.
80 changes: 34 additions & 46 deletions src/gui/generalsettings.ui
Original file line number Diff line number Diff line change
Expand Up @@ -233,21 +233,9 @@
</item>
<item>
<widget class="QFrame" name="updatesContainer">
<layout class="QVBoxLayout" name="verticalLayout_5">
<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>
<layout class="QVBoxLayout" name="updatesLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<layout class="QHBoxLayout" name="updatesLayout_1">
<item>
<widget class="QLabel" name="updateChannelLabel">
<property name="sizePolicy">
Expand Down Expand Up @@ -310,7 +298,7 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<layout class="QHBoxLayout" name="updatesLayout_2">
<item>
<widget class="QCheckBox" name="autoCheckForUpdatesCheckBox">
<property name="sizePolicy">
Expand Down Expand Up @@ -355,40 +343,40 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QPushButton" name="usageDocumentationButton">
<property name="text">
<string>Usage Documentation</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="legalNoticeButton">
<property name="text">
<string>Legal Notice</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="infoContainer">
<item>
<widget class="QPushButton" name="usageDocumentationButton">
<property name="text">
<string>Usage Documentation</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="legalNoticeButton">
<property name="text">
<string>Legal Notice</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
Expand Down

0 comments on commit fe22bf8

Please sign in to comment.