Bug report #10274

QgsFieldExpressionWidget should show expressions in italics

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

Status:Closed
Priority:Normal
Assignee:Denis Rouzaud
Category:Edit widget
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 #:18706

Description

It would be a nice touch if QgsFieldExpressionWidget showed the expression row in a different font style (eg italic), or a different color, so that it's differentiated from the layer's columns. Otherwise it's a little confusing when the currently selected column appears twice in the list - one for the column, and once at the end for the expression value.

History

#1 Updated by Denis Rouzaud over 10 years ago

It does, but it's apparently overwritten by the OS.

#2 Updated by Nathan Woodrow over 10 years ago

Nyall I have fixed #10402 does this ticket still apply now? Column names will not be repeated when selected.

#3 Updated by Denis Rouzaud over 10 years ago

On ubuntu, it's in italic in the data defined properties dialog, but not in the other places (with today's master).
Not sure why.
It might be the option dialog style that overwrites this?

#4 Updated by Jürgen Fischer over 10 years ago

  • Category set to Edit widget

#5 Updated by Denis Rouzaud over 10 years ago

  • Status changed from Open to Feedback

#6 Updated by Nyall Dawson over 10 years ago

  • Status changed from Feedback to Closed

This can be closed now that the duplicate entry has been removed.

Also available in: Atom PDF