rerun icon indicating copy to clipboard operation
rerun copied to clipboard

SpaceView Tabs hovering works with other labels created with `space_view_button`

Open jondo2010 opened this issue 2 years ago • 1 comments

Hovering over a SpaceView in the blueprint tree should highlight the title of the corresponding TabViewer tab and vice-versa.

Digging a little into the codebase, it looks like egui_dock::TabViewer needs to be modified to support drawing an arbitrary widget for the tab title, instead of just egui::WidgetText. See egui_dock::TabViewer::title.

jondo2010 avatar Feb 07 '23 13:02 jondo2010

related to that, once we have arbitrary widgets in the tab title we well also get icons there (automagically, since the same method that handles the highlighting correctly also handles the icon)

Wumpf avatar Feb 07 '23 14:02 Wumpf

We now have custom tab header widget. Icons are there, but it could indeed be somehow highlighted when the corresponding entry is hovered in the blueprint tree UI.

abey79 avatar Aug 28 '23 09:08 abey79

This has been done at some point recently.

abey79 avatar Jan 16 '24 11:01 abey79