Feature request #7831
Layer name in Properties window
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||16714|
There could be some misunderstandings in "Layer properties" when you change Layer name.
I think after "displayed as", text should not be in side textbox, but just plain text. See image.
Tested on Win7, master revision A60e74a
#1 Updated by Larry Shaffer about 7 years ago
There are several reasons for the way it is and why not to use a text label:
- If the proposed text label is significantly long, it will make the width of the dialog grow too much. If wrapping is applied to the text label, some platforms have a height-for-width bug that does not handle the wrapping correctly and causes excessive height to be added to the encompassing container widget. There is no workaround for that bug and it is in several versions of Qt.
- With the current 'displayed as' line edit box content can be any length and not affect the dialog's layout.
- The proposed text label does not offer copying of the text. The current line edit does. There should be no confusion about which one a user can edit since the 'displayed as' line edit box is read-only and not editable.
I do think your proposed text label would look cleaner, but there is some reasoning behind the way it currently is.
#2 Updated by Pekka Sarkola about 7 years ago
Ok, I see you point.
However, I was one of those rare people who try to edit "displayed as" text box. And get confused, why there is two same looking field and only one was editable. Maybe I'm just 1% (or 1%%) of users, but still I think those field should be more different than now.
Maybe fill of 2nd Textbox could be transparent or other color than white.