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: 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
Previous Topic:Update image when image-file changes
Next Topic:SashForm and DRAG_MINIMUM
Goto Forum:
  


Current Time: Sat Apr 27 01:54:24 GMT 2024

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

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

Back to the top