Setting size of SpinButton



I'm looking at a SpinButton that goes from -100.0 to 100.0, and the Entry
field turns out too small -- when you're at -10.0 or below, the digits get
cut off.  From the spinbutton example in the tutorial, I just see the
gtk_widget_set_usize, which is not friendly to different fonts etc.  Is
there a way I can say 'This spinbutton should be large enough to
accommodate "-100.0"'?

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | Hårdgrim of Numenor
"I do not agree with a word that you say, but I    | Retainer of Sir Kegg
will defend to the death your right to say it."    |   of Westfield
    --Evelyn Beatrice Hall paraphrasing Voltaire   | Chaos Berserker of Khorne




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]