[gtkada] Overwriting Size_Request

Martin Klaiber martinkl at zedat.fu-berlin.de
Thu Mar 6 10:07:18 CET 2003


Preben Randhol <randhol at pvv.org> wrote:
> Martin Klaiber <martinkl at zedat.fu-berlin.de> wrote on 05/03/2003 (14:12) :

>> I need an Entry-Object which is not that wide by default as Gtk_GEntry.
>> Overwriting Size_Request gives no effect here. Does someone know what's
>> wrong with my code?

> Do you mean the number of characters you are writing or do you mean the
> size of the Gtk_GEntry widget when you see it on the screen?

I mean the size (Requisition.Width) of the Entry. It's hardcoded in Gtk
to 150 Pixels, which is too much, if you want an entry for numbers. So
the minimum default width was changed to 30 (IIRC) for spin-buttons.

Martin



More information about the gtkada mailing list