[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Problem with Scrollbars in EditorPage

Hello everyone

I have a problem regarding scrollbars on an EditorPage when displaying a Table on it with a width bigger than the width of the EditorPage. In this case the Scrollbars are displayed on the EditorPage and not on the Table, where they are supposed to be displayed.

I tracked down the problem and found out the following:

- I'm using an Implementation of AbstractFormPart to control the dirty-flag. If I comment the line where I set the AbstractFormPart then everything is fine (the scrollbar is displayed in the table

- When I set LayoutData on the table giving a widthHint=0 everything is fine even when I use the AbstractFormPart

Now setting the widthHint would be a possible solution but doesn't seem very elegant to me.

Can anyone tell me a better solution and/or explain why this problem occurs?

Thanks in advance for any help.

Best regards.
Christian