#15 Patch to add simple multi-line lables to Effects

open
nobody
None
5
2013-03-22
2013-03-22
No

This simple patch adds multi-line text to the Effects buttons. It does not dynamically re-size the text when the effect button is re-sized, since the button size does not appear to be available in gtk 2.x. It bases the size on the original button set_size_request call.

Discussion

  • Stephen Fairchild

    I think you can put the button in an event box and monitor the resize event signal of that instead. Also pango.GlyphString().get_logical_widths() will I think help in calculating the right wrap width without hard coding constants that rely on fairly standard dpi and font settings.

     

Log in to post a comment.