Re: GtkSpinButton Patch

Donald Ryan Willhoit wrote:
> I sent this a while ago, but it probably got lost.  Anyway it makes the
> SpinButton control's size request seem more reasonable.  Try it out - it
> should insure that the largest and smallest numbers the spin button can
> have always fit in the spin button.  This would be really important if
> someone changes the font size.
> If this is better behaviour and reasonable for inclusion in say 1.4, I'll
> also write the support for GtkText, GtkEntry, GtkLabel, GtkCombo and
> whatever else I can find that is broken in this respect.
> Ryan Willhoit

You might be interested to know that in the proportional width fonts I
have looked at (Helvetica being the most usefull in this case), four is
the widest number, so if you use that instead of a zero, it may produce
a more acurate size at large font sizes than a zero/eight/minus combo.

    Jim Cape

    "Men occasionally stumble over the truth, but most of them
     pick themselves up and hurry off as if nothing had happened."
        -- Winston Churchill

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