From: Meinrad Recheis Date: 2006-04-11T04:13:39+09:00 Subject: Re: FXRuby ComboBox problems: On 4/10/06, Christer Nilsson wrote: > First problem: The empty alternative shows just about two pixels in > height. > "" > "male" > "female" > How can I get the full height? easiest way is to put a space inside instead of an empty string. annother way would be setting the layout to LAYOUT_FIX_HEIGHT. > > Second problem: The leftmost characters in the combo has a lighter > background color. The number of characters seem to equal the shortest > string > " " # shortest string > "male" # m has lighter background > "female" # f has lighter background > How can I get the correct background color everywhere in the combo? strange feature isn't it? don't know when the combobox became like this. anyway here is the trick that removes the selection of the text: cbo.children[0].killSelection hth, -- henon [snipped]