godot icon indicating copy to clipboard operation
godot copied to clipboard

Enable scroll hints for several parts of the editor

Open YeldhamDev opened this issue 2 weeks ago • 2 comments

Tackles https://github.com/godotengine/godot-proposals/issues/13581 and #112454.

  • Enable scroll hints for several areas in the editor where it made sense and looked appropriate.
  • Only present in the modern theme.
  • Add scroll hints for ItemList, necessary for this PR to be made.
  • Fix some issues with scroll hints in Tree.
  • Remove the scrollbar hack in the animation player editor, putting it back in its default place. Instead, it adds a gap in the timeline control when the vertical scrollbar is visible while in RTL mode.
Screenshots Screenshot_20251203_194509 Screenshot_20251203_194358 Screenshot_20251204_083822

YeldhamDev avatar Dec 04 '25 17:12 YeldhamDev

The relationship lines in FileSystem don't reach the bottom: image

EDIT: Also it would be nice to add hints to CreateDialog too. It seems to be missing in the changes.

EDIT: Also ResourcePreloader xd image

KoBeWi avatar Dec 06 '25 14:12 KoBeWi

@KoBeWi I can't really add it to the create dialog because the hints wont be able to touch the left border due to the lists in the way.

Also, is there a way for an EditorDock to know if it was placed in a dock or in the bottom panel? I need this information to properly set the hints for the ResourceLoader.

The relationship lines in FileSystem don't reach the bottom

This doesn't seem related to the PR, but instead a bug in Tree.

YeldhamDev avatar Dec 08 '25 14:12 YeldhamDev

Also, is there a way for an EditorDock to know if it was placed in a dock or in the bottom panel?

Override update_layout(). DOCK_LAYOUT_HORIZONTAL is for bottom panel.

KoBeWi avatar Dec 09 '25 12:12 KoBeWi

@KoBeWi Changes made.

YeldhamDev avatar Dec 09 '25 13:12 YeldhamDev

Thanks!

akien-mga avatar Dec 09 '25 18:12 akien-mga