| Summary: | vertical scrollbar of TitleAreaDialog disappears in certain cases | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Steffen <steffen> | ||||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||||
| Status: | RESOLVED INVALID | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | oliver | ||||||||
| Version: | 1.4 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Steffen
Created attachment 196635 [details]
Scrollbar disapeared.
Created attachment 196636 [details]
Scrollbar visible.
Hi Steffen, just checked your code in SWT and RAP behave exactly the same. That's why, I think that this bug is invalid. Could you confirm this? In order to make it works, I think you have to update the scrolledComposite minWidth in dialog resize event. (In reply to comment #4) > In order to make it works, I think you have to update the scrolledComposite > minWidth in dialog resize event. Okay, but i do not understand to which value i have to set the mindWidth in the resize event. If i fit it to the shell-width it does not change the problem, that the vertical scrollbar disapears. (In reply to comment #5) OK... just tested it and setting the minWidth did not help as you mention. The vertical scrollbar is not visible as it is cut-off in the same way like the buttons bar. If you increase the dialog width a little bit (resize by mouse) you will see that the scrollbar is there. The minimum width of the scrolledComposite is limited by the width of the buttons bar (they are in the same grid layout). I think that the solution of your problem is to set the minimumSize of the dialog shell. Thus, it will not be possible to make the dialog smaller in width and the buttons bar will not be cut-off (same for the scrolledComposite). I will close it as invalid as SWT and RAP behave the same. Please reopen if you disagree. |