Bug #6165

Overlapping widgets in expression builder dialog

Added by Alister Hood 10 months ago. Updated 4 months ago.

Status:Closed Start Date:08/07/2012
Priority:Low Due date:
Assigned to:Nathan Woodrow % Done:

0%

Category:GUI
Target version:Version 2.0.0
Platform: Patch supplied:Yes
Platform version: Affected version:master
Status info: Causes crash or corruption:No
Resolution:

Description

On my Linux system the function list label in the expression builder dialogue overlaps with the search box, as you can see in the attached screenshot.

This is fixed for me with the following patch (actually, it is just the topMargin property that I changed in QT Designer, so I guess the others aren't needed).

But will there still be a problem on someone else's machine due to their QT theme or font size settings? I would have thought that this problem indicated something is fundamentally wrong somewhere...

# diff -u /media/sdb1/abs/local/yaourtbuild/qgis-git/src/qgis/src/ui/qgsexpressionbuilder.ui /media/sdb1/abs/local/yaourtbuild/qgis-git/src/qgis-build/src/ui/qgsexpressionbuilder.ui
--- /media/sdb1/abs/local/yaourtbuild/qgis-git/src/qgis/src/ui/qgsexpressionbuilder.ui    2012-06-16 13:45:09.030542381 +1200
+++ /media/sdb1/abs/local/yaourtbuild/qgis-git/src/qgis-build/src/ui/qgsexpressionbuilder.ui    2012-08-07 15:06:58.569575603 +1200
@@ -43,7 +43,16 @@
         <bool>true</bool>
        </property>
        <layout class="QGridLayout" name="gridLayout_6">
-        <property name="margin">
+        <property name="leftMargin">
+         <number>0</number>
+        </property>
+        <property name="topMargin">
+         <number>3</number>
+        </property>
+        <property name="rightMargin">
+         <number>0</number>
+        </property>
+        <property name="bottomMargin">
          <number>0</number>
         </property>
         <property name="spacing">

expression_builder.png - screenshot (8.4 kB) Alister Hood, 08/07/2012 06:29 am

History

Updated by Alister Hood 10 months ago

But will there still be a problem on someone else's machine due to their QT theme or font size settings

Maybe the font size doesn't come into the equation, but maybe the language does...

Updated by Alister Hood 10 months ago

  • Patch supplied changed from No to Yes

Updated by Nathan Woodrow 10 months ago

  • Assigned to set to Nathan Woodrow

Updated by Paolo Cavallini 9 months ago

  • Target version set to Version 2.0.0

Updated by Matthias Kuhn 4 months ago

  • Status changed from New to Closed

Fixed in fb63167

Also available in: Atom PDF