WrappedPageBook change layout [message #1780114] |
Wed, 17 January 2018 14:08 |
Adam Bialas Messages: 14 Registered: July 2016 |
Junior Member |
|
|
Hi,
Is it possible to change WrappedPageBook layout? By default, it is set to PageBookLayout inner class of WrappedPageBook. The problem is its implementation - especially method computeMinimumWidth which takes 0 as a value for width hint. This causes that horizontal scroll is never shown if we use ScrolledPageBook (which uses WrappedPageBook inside).
I wanted to change the layout of WrappedPageBook and fix the implementation of computeMinimumWidth method so it will calculate correct value but WrappedPageBook inside method computeSize cast layout to the PageBookLayout.
Is there any possibility to customize it? I am using ScrolledPageBook from org.eclipse.ui.forms.DetailsPart.
Thanks
Adam
|
|
|
Powered by
FUDForum. Page generated in 0.02882 seconds