Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Getting column width from GridLayout
Getting column width from GridLayout [message #538633] Tue, 08 June 2010 09:11 Go to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
Hi All,

Is there any way to work out the column width of a GridLayout?

I want to use this later in setting widthHint on GridData.

Thanks heaps!

Greg
Re: Getting column width from GridLayout [message #538645 is a reply to message #538633] Tue, 08 June 2010 10:30 Go to previous messageGo to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
width hint should only be used if u want width other then the width calculated by gridlayout...

---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: Getting column width from GridLayout [message #538651 is a reply to message #538645] Tue, 08 June 2010 10:32 Go to previous messageGo to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
The question was "Is there any way to work out the column width of a
GridLayout?"

"vijay" <vijay.rajonline@gmail.com> wrote in message
news:hul63c$bkr$1@build.eclipse.org...
> width hint should only be used if u want width other then the width
> calculated by gridlayout...
> --
> ---------------------
> why, mr. Anderson, why, why do you persist?
> Because I Choose To.
> Regards,
> Vijay
Re: Getting column width from GridLayout [message #538652 is a reply to message #538651] Tue, 08 June 2010 10:49 Go to previous messageGo to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Quote:
I want to use this later in setting widthHint on GridData.


thats why if gridlayout has already set the same width,why u want to set the same width using width hint again...

if this question is related to u r previous question the i think u can leave this question!!!!


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: Getting column width from GridLayout [message #538667 is a reply to message #538652] Tue, 08 June 2010 11:33 Go to previous messageGo to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
If you can't answer the question, please don't reply.

"vijay" <vijay.rajonline@gmail.com> wrote in message
news:hul77h$kmu$1@build.eclipse.org...
> Quote:
>> I want to use this later in setting widthHint on GridData.
>
> thats why if gridlayout has already set the same width,why u want to set
> the same width using width hint again...
>
> if this question is related to u r previous question the i think u can
> leave this question!!!!
> --
> ---------------------
> why, mr. Anderson, why, why do you persist?
> Because I Choose To.
> Regards,
> Vijay
Re: Getting column width from GridLayout [message #538678 is a reply to message #538667] Tue, 08 June 2010 12:09 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
am just trying to help

---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay

[Updated on: Tue, 08 June 2010 12:10]

Report message to a moderator

Previous Topic:Removing columns from viewers
Next Topic:Aligning widgets within different composites
Goto Forum:
  


Current Time: Fri Apr 26 09:16:19 GMT 2024

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

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

Back to the top