ComboBox Item widths

BlitzMax Forums/MaxGUI Module/ComboBox Item widths

Cousins422(Posted 2006) [#1]
Hi all,

Is it possible to have a ComboBox automatically adjust width based on the largest item of text added? As an alternative is there a way to find the width of the text thats being added so that I can set my ComboBox size accordingly? I know the last can be done using Max2D, am just looking for a GUI version of TextWidth that will work with the GUI font.

Cheers,
Mingler


Cousins422(Posted 2006) [#2]
Oh, should have mentioned, am using a Mac, but would like something cross platform if possible (am trying to avoid API calls)