| Summary: | Design of ExpandableGroupBox | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Matthias Fischer <mfi> | ||||||
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | claudio.guglielmo, ivan.motsch, zimmermann | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Matthias Fischer
Created attachment 204880 [details]
Displayed ExpandableGroupBox
BTW: Please make sure the bugfix will be "look and feel" independent. At the moment a section does not look good with the default "look and feel"s (windows, metal, etc). Fixed by using the l&f rendering of a button for the section header. When expanded, the button is rendered a little bit higher than normal and cut off at the bottom with nice transparent fade-out. Attached examples of different look and feels with a swing section element. Created attachment 208823 [details]
Examples of Section in various custom look and feel
The color gradient is blue-white and not blue-transparent. It seems that in synth look and feel sometimes the background color is not correctly adapted from the ui to the view/model. I fixed this by wrapping the section button with a JPanel that should guarantee to not allow dirt in the excess space when expanded. Tested with L&F Nimbus, Orson (a custom metal laf implementation) and Rayo (a custom synth laf implementation) Test OK ticket closed. deliverd as part of eclipse scout 3.8.0 (juno release train) |