Re: GtkEntry



Hi,
Posting the code that isn't working would be helpful.  

Have you tried to resize it using the other methods available to an entry- set_size_request()? set_max_length()?  The online documentation states that set_max_length_chars()  "Sets the desired maximum width in characters of entry. ".  If it only sets the desired width, then I'd be looking for another option that sets the maximum width more definitively.

HTH,

Ian

On 30/01/16 01:01, Liomar da Hora wrote:
Yes, but I can not resize the Gtk :: Entry.

2016-01-29 9:01 GMT-03:00 Liomar da Hora <liomarhora gmail com>:
sim, mas não consegui redimencionar o Gtk::Entry.

2016-01-28 19:29 GMT-03:00 Ian Martin <martin_id vodafone co nz>:
Hi,
Have you looked at Grid::get_column_homogeneous ()  and Grid::set_column_homogeneous (bool homogeneous=true)?

Ian.


On 28/01/16 06:52, Liomar da Hora wrote:
Hello guys,
I am inserting GtkEntry within a column of GtkGrid.
the first GtkEntry has max_width_char (30).
the second has max_width_char (5).
But the two are staying with size 30, despite being in different lines.
the second is on the width of the first in the same column.
How can I fix this?


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list






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