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 #1780114] Wed, 17 January 2018 14:08
Adam Bialas is currently offline Adam BialasFriend
Messages: 15
Registered: July 2016
Junior Member

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.

Previous Topic:Update image when image-file changes
Next Topic:WrappedPageBook change layout
Goto Forum:

Current Time: Wed Nov 21 02:49:11 GMT 2018

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

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

Back to the top