From 40b83b94855988d2a73ff82aaf5572f9752c699d Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Tue, 26 May 2020 11:03:04 +0300 Subject: [PATCH] fix layout of the QgsHistogram widget to prevent histogram collapsing on resizing (fix #25197) (cherry picked from commit abe8481a1ec58e54b6b9b3561367b17e25fd60be) --- src/ui/qgshistogramwidgetbase.ui | 140 ++++++++++++------------------- 1 file changed, 53 insertions(+), 87 deletions(-) diff --git a/src/ui/qgshistogramwidgetbase.ui b/src/ui/qgshistogramwidgetbase.ui index afdb8e3349f1..65d9bbc60d4b 100644 --- a/src/ui/qgshistogramwidgetbase.ui +++ b/src/ui/qgshistogramwidgetbase.ui @@ -2,58 +2,31 @@ QgsHistogramWidgetBase - - - 0 - 0 - 285 - 245 - - - - - 0 - 0 - - - - - 0 - 60 - - Form - - - - - 0 + + + + + Load Values - - - - Load Values - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + - + + + + Qt::Horizontal + + + + 182 + 20 + + + + + @@ -64,51 +37,44 @@ 0 - 30 + 120 - - - - QFormLayout::AllNonFixedFieldsGrow + + + + Histogram bins - - - - Histogram bins - - - - - - - 1 - - - 999 - - - 50 - - - - - - - Show mean value - - - - - - - Show standard deviation - - - - + + + + + + 1 + + + 999 + + + 50 + + + + + + + Show mean value + + + + + + + Show standard deviation + +