Bug report #10303

QgsFieldExpressionWidget grows too wide with long expressions

Added by Nyall Dawson over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Denis Rouzaud
Category:GUI
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

Description

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.

History

#1 Updated by Anita Graser over 5 years ago

  • Target version set to Future Release - High Priority
  • Priority changed from Normal to Severe/Regression
  • Category set to GUI

#2 Updated by Anita Graser over 5 years ago

related to #10405

#3 Updated by Denis Rouzaud over 5 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.

#4 Updated by Denis Rouzaud over 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF