-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option to hide library nav sidebar when it isn't in use #14393
Comments
This should already possible with a skin only change. Here is a patch for the Deere skin diff --git a/res/skins/Deere/library.xml b/res/skins/Deere/library.xml
index 1f08cc1134..50f5459b84 100644
--- a/res/skins/Deere/library.xml
+++ b/res/skins/Deere/library.xml
@@ -28,6 +28,10 @@
<Children>
<WidgetGroup>
<Layout>vertical</Layout>
+ <Connection>
+ <ConfigKey>[Skin],show_library_navbar</ConfigKey>
+ <BindProperty>visible</BindProperty>
+ </Connection>
<Children>
<Template src="skin:preview_deck.xml"/>
<WidgetGroup>
diff --git a/res/skins/Deere/skin_settings.xml b/res/skins/Deere/skin_settings.xml
index ab9dceaab7..cbd5383c97 100644
--- a/res/skins/Deere/skin_settings.xml
+++ b/res/skins/Deere/skin_settings.xml
@@ -275,6 +275,12 @@
<SetVariable name="skinsetting">[Skin],show_preview_decks</SetVariable>
</Template>
+ <Template src="skins:Deere/skinsettings_button.xml">
+ <SetVariable name="TooltipId">show_library_navbar</SetVariable>
+ <SetVariable name="text">Library Navbar</SetVariable>
+ <SetVariable name="skinsetting">[Skin],show_library_navbar</SetVariable>
+ </Template>
+
<Template src="skins:Deere/skinsettings_button.xml">
<SetVariable name="TooltipId">show_coverart</SetVariable>
<SetVariable name="text">Cover Art</SetVariable> You should be able to bind |
I'm meaning like, when turned on in the prefs, one would only see the track list in the lower half, then you'd hit tab and the sidebar appears/unminimises and is made the active view thing. |
Yep, this snippet should do it. You only need to bind tab to the CO above |
Ah, I realise I'm getting;
|
Yeah, that a limitation, as tooltips are hardcoded in C++. This warning message can be safely ignored. |
hmm, unless I'm mistaken, I think I've done the changes right, but I'm not seeing that here |
I think @mxmilkiib is looking for auto-hide the sidebar when the tracks table gets focus?
I think a complete, usable treeview hide function (hack) can be implemented either in c++ (probably in |
Feature Description
access/show the sidebar with the same control or keyboard hotkey switch action as usual, just display it away when the user finishes navigation
edit: can this be done in a skin?
The text was updated successfully, but these errors were encountered: