Project Tree improvements
Moderator: Moderators
Project Tree improvements
It would probably be easier to read if the comments in the Project Tree were a bit lighter. Also if the type and the name were swapped, it'd reduce the "stairs" effect that one bumps into when going through the list. I'm attaching an example.
Edit: cropped the image
Edit: cropped the image
- Attachments
-
- 剪贴板图片 (1).png (51.92 KiB) Viewed 30461 times
Last edited by rrTea on Mon Apr 18, 2016 7:19 am, edited 4 times in total.
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
I've made an attempt of fixing this now. You can try it here:
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
It is only the comments that are gray, I haven't switched name/types because some components show a property value as part of the caption. I.e. "PlaySound Sound1" could either mean "play sound1" or "a PlaySound component named Sound1". If the name comes first there is no such ambiguity.
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
It is only the comments that are gray, I haven't switched name/types because some components show a property value as part of the caption. I.e. "PlaySound Sound1" could either mean "play sound1" or "a PlaySound component named Sound1". If the name comes first there is no such ambiguity.
Rado1 is right, in its current implementation the readability is a problem.
I think adding another color would end up messy because the icons in the project tree are pretty colorful already.
It seems to me that the problem is not using gray (gray per se is not an instant readability killer as long as the contrast is high enough, speaking as a designer) but rather something else: the comments are a bit too close in brightness / tone to the rest of the text. …in fact I went and checked it and the rest of the text is off, not the comments! For some reason they are not black but dark grey. See for yourself.
I think adding another color would end up messy because the icons in the project tree are pretty colorful already.
It seems to me that the problem is not using gray (gray per se is not an instant readability killer as long as the contrast is high enough, speaking as a designer) but rather something else: the comments are a bit too close in brightness / tone to the rest of the text. …in fact I went and checked it and the rest of the text is off, not the comments! For some reason they are not black but dark grey. See for yourself.
- Attachments
-
- 剪贴板图片 (5).png (5.37 KiB) Viewed 30465 times
Here the text definitely is RGB 0,0,0. I checked in a paint program. This is with default "Windows" style selected in ZGE. Are you sure you didn't check a pixel at the edges of the text? They could be antialised at the edges.
If we pick another color for the comments it has to be one that works with other styles too (with "Golden graphite" background is black etc).
I've used system color clGrayText now which is supposed to change with styles but I notice in golden graphite it takes the same color as the other text.
If we pick another color for the comments it has to be one that works with other styles too (with "Golden graphite" background is black etc).
I've used system color clGrayText now which is supposed to change with styles but I notice in golden graphite it takes the same color as the other text.
Oh that's right, I'm using a theme (Turquoise Gray). Yes I'm pretty sure I didn't check a pixel at the edges since I'm not using AAed text. I didn't know themes can change even the color of the text in the Project Tree.
This particular theme works really well for me (I prefer the text to be slightly lighter, just so the contrast is not too stark) but I'll probably tweak it a bit if the new rendering of comments ends up approved.
This particular theme works really well for me (I prefer the text to be slightly lighter, just so the contrast is not too stark) but I'll probably tweak it a bit if the new rendering of comments ends up approved.
Change color "clInactiveCaptionText" which seems to offer better contrast in most styles. Please download and check it out.
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
http://www.zgameeditor.org/files/ZGameEditor_beta.zip