diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-02 12:36:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-11-03 23:08:39 -0800 |
commit | 814cda718365823654c7d13f2e24f31ac58ddb45 (patch) | |
tree | 3105952e46c724795ff439accd41f569b333a03f /desktop-widgets/tab-widgets/maintab.ui | |
parent | 7d18a525f178c2c47ec72a96fbda92d5595f95d9 (diff) | |
download | subsurface-814cda718365823654c7d13f2e24f31ac58ddb45.tar.gz |
desktop: generalize the colorization of the tab widget
Instead of doing it just for the Information tab, do it for all of the tabs.
There's still room for improvement. But this certainly feels more consistent.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.ui')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.ui | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.ui b/desktop-widgets/tab-widgets/maintab.ui index 7e3d4c9b3..aa8371dad 100644 --- a/desktop-widgets/tab-widgets/maintab.ui +++ b/desktop-widgets/tab-widgets/maintab.ui @@ -82,6 +82,10 @@ <property name="text"> <string>Date</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> + <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>1</horstretch> @@ -98,6 +102,9 @@ <property name="text"> <string>Time</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>1</horstretch> @@ -133,6 +140,9 @@ <property name="text"> <string>Depth</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> </widget> </item> <item row="0" column="3"> @@ -146,6 +156,9 @@ <property name="text"> <string>Duration (h:mm)</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> </widget> </item> <item row="1" column="0"> @@ -230,6 +243,9 @@ <property name="text"> <string>Location</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> <property name="alignment"> <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> @@ -302,6 +318,9 @@ <property name="text"> <string>Divemaster</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> <property name="alignment"> <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> @@ -312,6 +331,9 @@ <property name="text"> <string>Buddy</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> <property name="alignment"> <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> @@ -348,6 +370,9 @@ <property name="text"> <string>Tags</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> <property name="alignment"> <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> @@ -396,6 +421,9 @@ <property name="text"> <string>Rating</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> </widget> </item> <item row="1" column="1" alignment="Qt::AlignVCenter"> @@ -425,6 +453,9 @@ <property name="text"> <string>Notes</string> </property> + <property name="isHeader" stdset="0"> + <bool>true</bool> + </property> <property name="alignment"> <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> |