Bug 232296 - Tool settings UI layout issues
Summary: Tool settings UI layout issues
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 5.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on: 288648 272912
Blocks:
  Show dependency tree
 
Reported: 2008-05-15 09:00 EDT by Vladimir Prus CLA
Modified: 2020-09-04 15:19 EDT (History)
0 users

See Also:


Attachments
screenshot of the bad layout (68.35 KB, image/png)
2008-05-15 09:00 EDT, Vladimir Prus CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Prus CLA 2008-05-15 09:00:49 EDT
Created attachment 100429 [details]
screenshot of the bad layout

I attach a screenshot of the tool settings tab of the CDT project properties dialog. As you can see, there are total of 6 scrollbars shown, which is neither good-looking nor functional in any way. What happens, apparently is that:
1. On the dialog top-level, there's ScrolledComposite.
2. ToolSettingsTab uses ScrolledComposite for edit area.
3. The tree widget for selecting tool/option category also comes with scrollbar. While there's attempt to keep the tree at the size it desires itself, one can still drag the sash explicitly.

It seems that the right solution would be:
1. Prevent making tree narrower than its preferred size.
2. Don't use ScrolledComposite for the edit area at all, relying on top-level ScrolledComposite.

Unfortunately, it does not seem that SashForm/SashFormLayout allows to implement (1), so presumably it would be necessary to extend/override those.
Comment 1 Andrew Gvozdev CLA 2009-08-26 14:49:46 EDT
(2.) is being addressed in bug 272912 which really resolves a bunch of resizing oddities of properties dialog.