Re: GtkEntry ... change size
- From: Mariano Gaudix <marianocordobario3 gmail com>
- To: Michael Cronenworth <mike cchtml com>
- Cc: gtk devel <gtk-app-devel-list gnome org>
- Subject: Re: GtkEntry ... change size
- Date: Mon, 28 Oct 2013 19:43:37 -0200
¿ how I disable expansion ?
I used the sentences .
gtk_widget_set_vexpand (GTK_WIDGET(entry ) , FALSE ) ;
gtk_widget_set_hexpand (GTK_WIDGET(entry ) , FALSE ) ;
But these sentences don't run .
2013/10/28 Michael Cronenworth <mike cchtml com>
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.
______________________________**_________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/**mailman/listinfo/gtk-app-**devel-list<https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]