| Summary: | Font-change in css based on widget-state is not considered when relayouting | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Stefan Milchram <stefan.milchram> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 3.0 | ||||||
| Target Milestone: | 3.1 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Fixed in master with change https://git.eclipse.org/r/#/c/66104/ |
Created attachment 259604 [details] snippet We want to set the font of labels to bold when they are disabled. We tried to achive this with the disabled-state in the css. The font changes to bold when the label gets disabled, as a result the font gets bigger. When we call relayout now nothing happens. As a workaround we tried do set another custom variant which changes the font to bold and then do the relayout, which worked. See the snippet attached, it contains a view where you can reproduce the error. Just click button "toogle enabled" and button "relayout".