[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.platform.swt] Re: How to set width of Combo or Text to match its TextLimit
From
:
steve_harper@xxxxxxx
(Steve Harper)
Date
: Tue, 30 Nov 2004 15:19:20 +0000 (UTC)
Newsgroups
:
eclipse.platform.swt
Organization
: Eclipse.org
User-agent
: NewsPortal/0.34 (http://florian-amrhein.de/newsportal/)
Sizing using GC.textExtent() works nicely, and it's good to know about the FontMetrics class also.
Thanks for the good advice.
Still seems strange to have to set the GridData.widthHint, would think that the GridLayout would honor the size set into the Control.
Follow-Ups
:
[news.eclipse.platform.swt] Re: How to set width of Combo or Text to match its TextLimit
From:
Steve Northover
References
:
[news.eclipse.platform.swt] How to set width of Combo or Text to match its TextLimit
From:
Steve Harper
[news.eclipse.platform.swt] Re: How to set width of Combo or Text to match its TextLimit
From:
Grant Gayed
Prev by Date:
[news.eclipse.platform.swt] Re: Using PNG with Alpha channel in SWT Widgets
Next by Date:
[news.eclipse.platform.swt] Re: Using PNG with Alpha channel in SWT Widgets
Previous by thread:
[news.eclipse.platform.swt] Re: How to set width of Combo or Text to match its TextLimit
Next by thread:
[news.eclipse.platform.swt] Re: How to set width of Combo or Text to match its TextLimit
Index(es):
Date
Thread