Skip to main content

Thread: GTK container control


i'm having problem gtk. want create label auto-wraps text , text can change. not want label grow horizontally in slightest. rather grow vertically , shrink necessary. label reaches own horizontal limit not nor have means change design.

this can controlled how pack widget. pack vertical box expand|fill turned on. you'll need check gtk+ documentation think labels automatically wrap when widget expands. wrong though, in case may need explicitly turn on feature. 'gtk_label_set_text_wrap(gtkwidget*, gboolean);' or similar.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk GTK container control


Ubuntu

Comments