First problem: The empty alternative shows just about two pixels in
height.
""
"male"
"female"
How can I get the full 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?
These are minor problems, but disturbing.
I really love the speed and the API of FX, so I'm not ready to switch
yet.
some code:
# Win XP, FXRuby 1.4.3
width = 10
cbo = FXComboBox.new(@parent, width, nil, 0, COMBOBOX_STATIC)
cbo.appendItem(" ",0)
cbo.appendItem("female",1)
cbo.appendItem("male",2)
--
Posted via http://www.ruby-forum.com/.