Bug report #10303
QgsFieldExpressionWidget grows too wide with long expressions
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18728|
The new QgsFieldExpressionWidget can grow very wide when using long expressions - this causes dialogs like the data defined dialog to expand to very large sizes. I think it should have a maximum width it is allowed to grow to.
#3 Updated by Denis Rouzaud over 8 years ago
I am a little bit puzzled by this.
I can't manage to find a solution without fixing a strict maximum width.
Setting the widget size policy to expanding did not solve the thing. I don't understand why it worked in labeling (with Nathan's fix) but not for categorized/graduated when I try.