This works, when I test it with gtkmm 3.16.0:
ent_endereco.set_halign(Gtk::ALIGN_START); // Added
ent_endereco.set_width_chars(25);
ent_endereco.set_max_length(25);
ent_endereco.set_max_width_chars(25);
grade.attach(ent_endereco, 0,3,1,1); // no fr_Entry, no hbox_entry
The two Gtk::Entry widgets get different widths. Isn't that what you want?
Kjell
Den 2016-01-31 kl. 23:24, skrev Liomar da Hora:
hi,
I tried resized within the Grid and did not happen. I tried to resize within this frame and within the grid and not worked. Finally I put the frame inside the box and the box on the grid and it worked.
I will put the code below: