|WrappedPageBook change layout [message #1780115]
||Wed, 17 January 2018 14:10
| Adam Bialas
Registered: July 2016
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.
Powered by FUDForum
. Page generated in 0.03322 seconds