Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » WrappedPageBook change layout
WrappedPageBook change layout [message #1780115] Wed, 17 January 2018 14:10
Adam Bialas is currently offline Adam BialasFriend
Messages: 15
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
Previous Topic:WrappedPageBook change layout
Next Topic:WrappedPageBook change layout
Goto Forum:
  


Current Time: Fri Sep 21 14:33:36 GMT 2018

Powered by FUDForum. Page generated in 0.03322 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top