All cells in a column have the same width. You must tell the
Gtk::Entry with max_width_char 5 that it shall not expand to fill
the cell's width. You can do that by changing its halign property.
For example myEntry.set_halign(Gtk::ALIGN_CENTER); (You mention GtkEntry (gtk+) instead of Gtk::Entry (gtkmm). If you are coding in C, and not C++, you're on the wrong mailing list, and the way to set the halign property will be different.) Kjell Den 2016-01-27 kl. 18:52, skrev Liomar
da Hora:
|