improve detail items alignment

pull/14/head
Michail Vourlakos 5 years ago
parent cbc5ff5d40
commit 423df425ee

@ -58,75 +58,24 @@
</spacer>
</item>
<item>
<layout class="QGridLayout" name="gridLayout" columnstretch="5,8">
<item row="2" column="1">
<layout class="QHBoxLayout" name="backgroundVertLayout2">
<layout class="QGridLayout" name="gridLayout" columnstretch="5,0,8">
<item row="2" column="2">
<layout class="QHBoxLayout" name="backgroundOptLayout">
<item>
<widget class="QRadioButton" name="backgroundRadioBtn">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<widget class="QLabel" name="backgroundPatternLbl">
<property name="minimumSize">
<size>
<width>18</width>
<height>16777215</height>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string notr="true"/>
<string notr="true">------------------</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="backgroundOptionsLayout">
<item>
<widget class="QLabel" name="backgroundPatternLbl">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string notr="true">------------------</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7">
<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>
</item>
<item row="4" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<widget class="QCheckBox" name="borderlessChk">
<property name="text">
<string>Hide window borders for maximized windows</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<spacer name="horizontalSpacer_4">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -138,19 +87,6 @@
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="backgroundLbl">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Background:</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
@ -177,10 +113,17 @@
</item>
</layout>
</item>
<item row="3" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item row="2" column="0">
<widget class="QLabel" name="backSecondRowLbl">
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<spacer name="horizontalSpacer_5">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -193,97 +136,46 @@
</spacer>
</item>
<item>
<widget class="QLabel" name="behaviorLbl">
<property name="text">
<string>Behavior:</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QRadioButton" name="colorRadioBtn">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QLabel" name="backgroundLbl">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>18</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string notr="true"/>
<string>Background:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="colorOptionsLayout">
<item>
<widget class="QLabel" name="colorPatternLbl">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>------------------</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<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>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="iconHorLayout">
<item row="3" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<spacer name="horizontalSpacer_9">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>16</width>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="behaviorLbl">
<property name="text">
<string>Behavior:</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2">
<layout class="QHBoxLayout" name="iconHorLayout">
<item>
<widget class="QPushButton" name="iconBtn">
<property name="minimumSize">
@ -339,10 +231,21 @@
</item>
</layout>
</item>
<item row="3" column="1">
<item row="4" column="2">
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<widget class="QLabel" name="borderlessChkLbl">
<property name="text">
<string>Hide window borders for maximized windows</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="2">
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QCheckBox" name="inMenuChk">
<widget class="QLabel" name="inMenuChkLbl">
<property name="text">
<string>Show in layouts context menu</string>
</property>
@ -350,15 +253,102 @@
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QLabel" name="backSecondRowLbl">
<item row="4" column="0">
<widget class="QLabel" name="behaviorSecRowLbl">
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="behaviorSecRowLbl">
<item row="1" column="2">
<layout class="QHBoxLayout" name="colorsOptLayout">
<item>
<widget class="QLabel" name="colorPatternLbl">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>------------------</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<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>
<item row="1" column="1">
<widget class="QRadioButton" name="colorRadioBtn">
<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="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QRadioButton" name="backgroundRadioBtn">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="inMenuChk">
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="borderlessChk">
<property name="text">
<string notr="true"/>
</property>

Loading…
Cancel
Save