Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 19th, 2007, 4:45 AM   #1
Kezzer
Newbie
 
Join Date: Mar 2007
Location: England
Posts: 15
Rep Power: 0 Kezzer is on a distinguished road
Send a message via Skype™ to Kezzer
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
Kezzer is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing an Image in .NET hbe02 Other Programming Languages 2 Jan 9th, 2007 5:58 AM
MVS 2005 Label resizing Kilo C# 4 May 28th, 2006 1:08 AM
Pragmatic image manipulation (resizing) kurifu C# 2 Aug 25th, 2005 6:52 PM
Resizing fields to match text Arla C# 3 Aug 4th, 2005 1:56 PM
Resizing windows problem. cloud- Visual Basic 6 Jul 28th, 2005 12:47 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:25 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC