feat(slint): head collapsed-sidebar nav flyouts with the section name

SidebarNavRow (mini sidebar) opened its section flyout with no header;
the closed-sidebar CompactNavBtn dropdowns show the section name + a
hairline. Set HeaderMenuState.title to the row label so the mini flyouts
match (same @tr strings).

cc
This commit is contained in:
vicrodh committed 2026-05-30 20:18:11 -06:00
1 parent c7a25e61cb
commit f249558573
1 file changed
+3 -1
+3 -1
View File
@@ -516,7 +516,9 @@ component SidebarNavRow inherits Rectangle {
HeaderMenuState.items = root.items;
HeaderMenuState.home-item = root.home-item;
HeaderMenuState.from-sidebar = true;
HeaderMenuState.title = "";
// Head the flyout with the section name + hairline, matching the
// closed-sidebar CompactNavBtn dropdowns (same @tr labels).
HeaderMenuState.title = root.label;
}
HorizontalLayout {