UI: default properties look too similar to properties set to an empty string #1444
Comments
kduske
added this to the
TrenchBroom 2.0.0
milestone
Sep 20, 2016
kduske
added enhancement Platform:All Priority:Medium
labels
Sep 20, 2016
kduske
added a commit
that referenced
this issue
Sep 25, 2016
|
|
kduske |
bd0e3e5
|
|
@ericwa could you have a look at branch feature/1444 and let me know how that works? |
|
Great. While we're at it: When you select multiple entities, the table will show the union of all the entities' properties. Do you think we should visually set those properties apart that only a subset of the entities has from those properties that all the entities have? The reason is that changing one of the former will add that property to all selected entities that didn't have it before. |
kduske
added a commit
that referenced
this issue
Sep 25, 2016
|
|
kduske |
d9da9f7
|
|
Agree on both counts, and I have set the colour of property subsets to light gray. As for showing a placeholder text (I prefer multi over differs, the problem with that is that it's fake. When you click on the property to edit it, the initial value will be multi, which I dislike. I would prefer if the initial value was empty when you start editing. This would probably be possible with a custom cell editor, but to be honest I'm too lazy for that right now. I have implemented the faked version in the last commit. What do you think? Maybe it's still better than having the field blank all the time. |
|
That's impossible with the wxGrid I think. |
|
It's possible to make text bold in To clarify: what I was suggesting is, for any text that is currently rendered in black, additionally make it bold, so that it's unambiguous even when there is a selection in the table. |
|
I had tried that, not too fond of the look tbh. |
kduske
added a commit
that referenced
this issue
Sep 26, 2016
|
|
kduske |
6c31798
|
|
I have changed the default attributes to be italic in addition to being light gray. This sets them apart when selected, too. What do you think? |
|
Alright, I'll merge it. |









ericwa commentedSep 19, 2016
It's hard to see that "style" is set to the empty string here:

I'd suggest drawing the default property keys in gray text, or maybe make the keys that the user set bold.
Here is quark for comparison, the icons make it easier to see which keys are defaults IMO:
