Re: Custom CellRendererText doesn't update cell size

2021-09-09 Thread Daniel Boles via gtkmm-list
Better show the code... Anyway I would think that drawing and sizing would be separate, so you probably also need to override measure() or whatever it ended up being called in GTK4. ___ gtkmm-list mailing list gtkmm-list@gnome.org

Custom CellRendererText doesn't update cell size

2021-09-09 Thread pedro . vicente
Hi, I'm trying to do a Cell Renderer that converts a std::deque into a string. So I derivated the CellRendererText and override the snapshot_vfunc. First I converted the deque to string, updated the property_text and called Gtk::CellRendererText::snapshot_vfunc to render the text. On gtkmm3 it