![]() |
Sash resizing + SWT
I'm using SWT to make a UI at the moment. Now there's a particular element of my application where when I resize the Shell I want to lock the width of the right-hand column and keep the Sash relative to the right-hand side. So basically I only want to resize the left-hand column upon Shell resizing.
The main problem is that if you move the Sash, and then resize the Shell smaller, then the buttons and Sash will be hidden from view which is exactly what I don't want. Here's an example which locks the Sash from being moved too far to the left or right, but it doesn't lock the width of one of the buttons. Any ideas? I'm assuming I have to add a listener (SWT.Resize) to either the Sash or the button. Cheers |
| All times are GMT -5. The time now is 2:39 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC