[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How do I resize a SWT table using SashForm?

You should be able to attach your mspaint example like you would on any email.

So if I'm understanding you correctly, you want to be able to drag the corner of the table to manually resize it, the table only. You want to resize it in the same fashion as you would to a window thats not maximized, by dragging the corner correct?

If that's the case, i don't understand how a sashform would be of any use. Think of a sash form as having the same functionality as what separates "frames" in browsers... you know that you can drag one portion to take up a percentage of a screen while the other portion decreases. Or in many email clients you have a horizontal/vertical 'sashforms'.

In fact my current program uses a sashform, here is a screen shot:
http://www.kingkwon.com/misc/future_gui.jpg

(The sashform is what separates the top and bottom portion and is draggable).

Asha Subramaniam wrote:
Hi Matthew,

Thanks for the quick reply.

I want the entire table to be resized.

My requirement is that I should be able to resize the entire table by pulling the bottom edges of the table.
I have a parent composite over which I have a table and 3 buttons adjacent to the table. I want to only resize the table.


If shashform can help, how exactly can i use it. If not, which other control can be used for it?

I have created a small MSPaint example of what i want. but I am not able to attach the same in the groups. Is there any other way I can send the snapshots across..

I have tried the examples from http://www.java2s.com. But it is very different from my requirement.

Asha.