php-gtk3
php-gtk3 copied to clipboard
Warning when reordering GtkTreeView
Hi Bruno,
when you drag & drop a header on a treeview with a column set: $column->set_reorderable(true);
It is working but throws (php7.4:24096): Gtk-WARNING **: 11:01:58.496: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkButton)
Nothing serious at all but just for the record
Hey, Hello!
Can you provide a minimal code for test?
Thanks
You can use this one: https://github.com/scorninpc/php-gtk3/issues/72#issuecomment-1886616424
and add
$gtkTreeViewColumn->set_reorderable(true);
To any columns. Then start and drag&drop the columns by holding the mouse on any of them.