[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

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.