php-gtk3 icon indicating copy to clipboard operation
php-gtk3 copied to clipboard

Warning when reordering GtkTreeView

Open apss-pohl opened this issue 1 year ago • 2 comments

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

apss-pohl avatar Jan 16 '24 10:01 apss-pohl

Hey, Hello!

Can you provide a minimal code for test?

Thanks

scorninpc avatar Jan 16 '24 11:01 scorninpc

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.

apss-pohl avatar Jan 16 '24 12:01 apss-pohl