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
<https://developer.gnome.org/gtkmm/3.19/classGtk_1_1Entry.html#a4bc81f7053d39770fb9f51ec8dac9f28>
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 <[email protected]
<mailto:[email protected]>>:
sim, mas não consegui redimencionar o Gtk::Entry.
2016-01-28 19:29 GMT-03:00 Ian Martin <[email protected]
<mailto:[email protected]>>:
Hi,
Have you looked at Grid::get_column_homogeneous
<http://?ui=2&ik=f59e9cb961&view=fimg&th=1528a5be8b53784e&attid=0.1.1&disp=emb&attbid=ANGjdJ8ngMo5ESB2VUIxCIhAEaUy484b8egwt5UGQD9QstvNQoqp4uvGY-_W_LRcGJ3i_Xz_27s2iQQN3L8vDBiRD_d7viqUoetmbFzUe18idhPVwhDnFbBQSbRM8dM&sz=s0-l75-ft&ats=1454068775276&rm=1528a5be8b53784e&zw&atsh=0>
() and Grid::set_column_homogeneous
<http://?ui=2&ik=f59e9cb961&view=fimg&th=1528a5be8b53784e&attid=0.1.2&disp=emb&attbid=ANGjdJ_3KAj3fxteyqCBAxdk-_xaiVdYhIFRJz5EyENPFurqRszKBW2bWfmQEv6rTrVNrF9eWAIbrO6-3GNIzWVJYAE_gRswJi_yAMKGEd7YCoVOQ54uogdqqPi3RI0&sz=s0-l75-ft&ats=1454068775276&rm=1528a5be8b53784e&zw&atsh=0>
(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
[email protected] <mailto:[email protected]>
https://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list