| Summary: | excess scroll space in editor sections | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Konstantin Komissarchik <konstantin> |
| Component: | Sapphire | Assignee: | Ling Hao <ling.hao> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Konstantin Komissarchik
Found a related problem that appears to be still there. See gallery sample -> Simple Values -> Enums. Another problem... 1. In gallery sample, go to Actions -> Value Property Editor. 2. Significantly reduce the size of the right hand side using the separator. 3. Watch a fascinating resizing animation as the text progressively reflows to fit the space. Problem described in Comment #1 isn't quite fixed. The whitespace is smaller, but is still not the same as beneath other sections on the same page. To fix, instead of making the parts composite be 0-height, try not to create the composite in the first place. Even if you make the composite 0-height, you still have padding between it and the section description. Another way to fix this might be to use the same composite for description and the section parts instead of creating a nested composite. Problem described in Comment #2 now shows a different issue. The resizing animation is gone, but when the section resizes it doesn't fit into available horizontal space. I get a horizontal scrollbar even if there is plenty of space. Ling, Could you also take a look at the case introduced with fix for Bug 330697 when you get a chance? It looks to be a similar problem to what you fixed in SapphireLabel class (wrapping text). Will likely require similar treatment. See RadioButtonsGroup class. You can see the problem in the gallery sample under Simple Values -> Enums. For comment #4 paragraph #1, what if the section description is rendered the same way as a label part would be (on the parts composite) instead of the parent section composite. Fixed comment 4, second paragraph and comment 5. will open a separate bug to track comment 4 first paragraph. I have verified all the scenarios described in this bug. Overall, the situation is significantly improved. Remaining issues to be tracked separately: Bug 332473 - excess scroll space in editor sections when content is empty Bug 332681 - Scroll bars flash briefly when reducing canvas width |