While I agree with all your comments in theory, some of them are feature enhancements rather than stylings. I think we can create a default style and then add those additional features in later. We have a while before these styles are committed to the trunk, so the more feedback the better.
- There are some aliasing artifacts on the corners of the tabs. Would be nice for the tab corners look extremely smooth.
This is a product of my lack of image editing prowess. I'll play around with the GIMP a little more.
-
Perhaps the tabs should be slightly closer together? For some reason,
right now it reminds me of teeth that are too far apart :-)
What's wrong with teeth that are far apart? Some people like to drink from a straw with their teeth clenched. But, since you asked, I'll see if I can put some braces on the tabs and close the gaps.
- The gradient on the tabs, especially the
active one, seems a bit stark. Not sure how to explain that in design
terms. Anyone else feel that way?
Tabs are a big pain, so I'm open to any suggestions or alternatives from this list. The basic problem is that the light colors don't show up well against a white background, but dark colors tend to make the tabs look non-interactive.
- Anyone else want dialog boxes to have rounded corners by
default? That style seems to be so popular, and I have to admit that I
am more impressed when I see rounded corners, even though I know it's a
small thing technically. Maybe this should apply to all of the panels
that have a natural border (
e.g. TabPanel, DisclosurePanel, StackPanel)?
This requires code changes that will affect the DOM structure of the elements and may require the use of tables or at least many more DOM elements per widget. I tried to provide the best possible styling without any impact on performance, so I think rounded corners should be optional. One proposal was to have a DecoratorPanel that could wrap any Widget in rounded corners. The TabPanel is a special case because it already had a structure that allows for rounded corners on the top using the sliding method.
-
Perhaps the active tab and the TabPanel border should be a non-gray
color to indicate clearly that it is clickable. For that matter,
perhaps shades of gray is a generally confusing color for tabs. How
would you represent tabs that are disabled?
Again, tabs are tough. I tried a bunch of colors and looked at a bunch of examples, but I couldn't find a great color to use. Again, if anyone has an example they want to share, let me know.
- The submenu menu items and the separators
need a little love. The <hr> elements around "Recent >>"
have too much vertical padding, and the ">>" in "Recent >>"
seems like it wants to be a little icon instead of characters.
I definitely agree that we need an option to add a break to a menu, and an automatic way of displaying an expand image if a submenu is available. However, these are features that we can add later and do not really affect the style sheet. If we add a menu break option, users can then choose to use it instead of an "<hr>" element. Likewise, if we automatically display a fancy ">>" image to indicate a submenu, users do not need to add the ">>" characters. However, this could be a breaking change unless its optional and disabled by default.
All of the styles that we applied required only a few additional style definitions, but no actual changes to the underlying DOM structure, which means very few code changes and backward compatibility (almost) with GWT
1.4. I'm definitely open to suggestions that will improve the look and feel, but I don't want to start incorporating feature enhancements into the style sheet because that process can go on forever.
One important question to consider is how we will distribute new versions of the
GWT-default.css style. We could version it with GWT-default100.css so that future versions are optional, or we can replace it, which seems like a bad idea since people will need to merge their changes into the new version. Or, are we truly stuck with the first version for life?