Re: GtkEntry ... change size



Mariano Gaudix wrote:
I can not  change the size to  GtkEntry  .  I am  using  Gtk 3.6 .
I need  a  GtkEntry  small  ,   for my   graphic   interface .

GTK expands widgets to fill space by default so setting widget size has no visible effect. You need to disable expansion.

I'll add a general disclaimer that you should not hard-code widget size unless you absolutely must. Allowing widgets to expand helps your app work on different screen sizes and shapes.

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