Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Add Scale in a table
Add Scale in a table [message #452685] Wed, 12 July 2006 16:36 Go to next message
Eclipse UserFriend
Originally posted by: denys_seguret.yahoo.fr

Hello,
I'm trying to put the Scale control in a table.

My code is realy similar to the one of this snippet :
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet126 .java

Only that I use an instance of Scale control instead of a Text.

The problem I have is that the scale doesn't fit in the height of the row and that I cannot make the row adapt its size. Do you know how to do that ?
Re: Add Scale in a table [message #452691 is a reply to message #452685] Wed, 12 July 2006 18:00 Go to previous messageGo to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
Seguret wrote:
> Hello,
> I'm trying to put the Scale control in a table.
>
> My code is realy similar to the one of this snippet :
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet126 .java
>
> Only that I use an instance of Scale control instead of a Text.
>
> The problem I have is that the scale doesn't fit in the height of the row and that I cannot make the row adapt its size. Do you know how to do that ?

Add a MeasureItem listener to the table.

See:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet230 .java

Wayne
Re: Add Scale in a table [message #452695 is a reply to message #452691] Wed, 12 July 2006 18:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: denys_seguret.yahoo.fr

The MeasureItem listener isn't available before swt 3.2.
And 3.2 isn't considered stable for now.

Isnt'it another way ?
Re: Add Scale in a table [message #452701 is a reply to message #452695] Thu, 13 July 2006 01:18 Go to previous messageGo to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
Seguret wrote:
> The MeasureItem listener isn't available before swt 3.2.
> And 3.2 isn't considered stable for now.
>
> Isnt'it another way ?

Isn't considered stable by whom?

Wayne
Re: Add Scale in a table [message #452705 is a reply to message #452695] Thu, 13 July 2006 07:41 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
Actually 3.2 is a final release!

Seguret wrote:
> The MeasureItem listener isn't available before swt 3.2.
> And 3.2 isn't considered stable for now.
>
> Isnt'it another way ?
Re: Add Scale in a table [message #452707 is a reply to message #452701] Thu, 13 July 2006 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: denys_seguret.yahoo.fr

Isn't said stable by Eclipse :

http://www.eclipse.org/swt/

I, have no idea about the stability of this release, I was just reffering to the home page of the project. I guess from the replies I had that some developpers find it stable... I'll have a try.
Re: Add Scale in a table [message #452719 is a reply to message #452707] Thu, 13 July 2006 14:21 Go to previous message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
Seguret wrote:
> Isn't said stable by Eclipse :
>
> http://www.eclipse.org/swt/
>
> I, have no idea about the stability of this release, I was just reffering to the home page of the project. I guess from the replies I had that some developpers find it stable... I'll have a try.

Interesting. It looks like the SWT page is a little out of date (it's
only showing the RC7 release). I'll check with the SWT team.

Wayne
Previous Topic:Language pack and menu entries
Next Topic:Title font of dialog
Goto Forum:
  


Current Time: Fri Oct 04 02:44:55 GMT 2024

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

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

Back to the top