2014-11-30 16:07 GMT+01:00 Lukas F. Hartmann <[email protected]>:
Hello Lukas,
Dear Maintainer,
>
> This bug is especially obvious on high resolution displays. Also, the
> buttons
> do not resize vertically, only horizontally, which leads to a cramped UI
> with
> bigger font sizes.
>
> I attached a patch to fix these problems. The patch also removes the manual
> indentation of the left-aligned status labels in the main status display
> and
> rather increases the overall margin of the status display.
>
> The interface is now fully scalable and looks good when disabling the
> "shiny
> background" bitmap option. I would recommend to drop this bitmap and its
> toggle
> option to reduce code and settings complexity for a feature that does not
> (IMHO) increase end user value.
>
Thank you for the patch, I am forwarding it upstream.
Maybe Rui also have some idea how to improve "shiny background" to be
scalable too.
best regards
mira
diff --git a/src/qjackctlMainForm.ui b/src/qjackctlMainForm.ui
index 52b379f..0bce179 100644
--- a/src/qjackctlMainForm.ui
+++ b/src/qjackctlMainForm.ui
@@ -61,7 +61,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -95,7 +95,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -127,8 +127,8 @@
</property>
<property name="maximumSize" >
<size>
- <width>260</width>
- <height>80</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
</property>
<property name="autoFillBackground" >
@@ -142,7 +142,7 @@
</property>
<layout class="QGridLayout" >
<property name="margin" >
- <number>2</number>
+ <number>8</number>
</property>
<property name="spacing" >
<number>0</number>
@@ -169,9 +169,6 @@
<property name="wordWrap" >
<bool>false</bool>
</property>
- <property name="indent" >
- <number>2</number>
- </property>
</widget>
</item>
<item row="0" column="2" >
@@ -268,9 +265,6 @@
<property name="wordWrap" >
<bool>false</bool>
</property>
- <property name="indent" >
- <number>2</number>
- </property>
</widget>
</item>
<item row="1" column="1" colspan="5" >
@@ -324,9 +318,6 @@
<property name="wordWrap" >
<bool>false</bool>
</property>
- <property name="indent" >
- <number>2</number>
- </property>
</widget>
</item>
<item row="2" column="2" colspan="2" >
@@ -396,7 +387,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -427,7 +418,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -461,7 +452,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -495,7 +486,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -526,7 +517,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -560,7 +551,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -593,8 +584,8 @@
</property>
<property name="maximumSize" >
<size>
- <width>48</width>
- <height>28</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -621,8 +612,8 @@
</property>
<property name="maximumSize" >
<size>
- <width>48</width>
- <height>28</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -652,8 +643,8 @@
</property>
<property name="maximumSize" >
<size>
- <width>48</width>
- <height>28</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -691,8 +682,8 @@
</property>
<property name="maximumSize" >
<size>
- <width>48</width>
- <height>28</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -719,8 +710,8 @@
</property>
<property name="maximumSize" >
<size>
- <width>48</width>
- <height>28</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >
@@ -751,7 +742,7 @@
<property name="maximumSize" >
<size>
<width>32767</width>
- <height>28</height>
+ <height>32767</height>
</size>
</property>
<property name="focusPolicy" >