[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?

Asha Subramaniam wrote:
Hello,

I have a requirement where the user should be given an option to increase/decrease the size of the table.

Could you be more specific? There are multiple aspects of a table that could be resized: the whole table relative to other controls in a form, columns within the table, table row heights, etc.


I have heard that this could be done using a sashform where the table can be placed over the sashform, which acts as a re-sizable composite.

SashForm is a container for multiple controls that share a certain amount of space on the screen. It provides built-in support for resizing each individual control relative to the whole using internally managed Sash controls. This may or may not be the right control depending on what your exact use case is.


I have browsed through the Internet for examples on SashForm but couldnt fit in the solutions into my requirement.

Again, please be more specific about your requirements. I can't tell what behavior you're trying to achieve without more details. More details are good, screenshots or mockups are better, but snippets that anyone can run are best.


Matthew