diff options
author | ronso0 <ronso0@mixxx.org> | 2020-11-17 22:55:43 +0100 |
---|---|---|
committer | ronso0 <ronso0@mixxx.org> | 2020-11-24 23:35:32 +0100 |
commit | 6c793386cc5f3748699f232c611b024339e4cc3a (patch) | |
tree | d0519dc677fed55e8422010e329db994ec3771c2 | |
parent | 3d7439d0a1986a97fe98a646d443a416f5f54db2 (diff) |
Shade: apply library font also to location delegate by packing library into Singleton
-rw-r--r-- | res/skins/Shade/library.xml | 59 | ||||
-rw-r--r-- | res/skins/Shade/skin.xml | 70 |
2 files changed, 69 insertions, 60 deletions
diff --git a/res/skins/Shade/library.xml b/res/skins/Shade/library.xml new file mode 100644 index 0000000000..00718a72d1 --- /dev/null +++ b/res/skins/Shade/library.xml @@ -0,0 +1,59 @@ +<Template> + <WidgetGroup> + <SizePolicy>me,i</SizePolicy> + <Layout>vertical</Layout> + <Children> + <WidgetGroup> + <ObjectName>LibraryContainer</ObjectName> + <SizePolicy>me,me</SizePolicy> + <Layout>horizontal</Layout> + <Children> + <Splitter> + <Size>me,me</Size> + <SplitSizes>1,6</SplitSizes> + <Collapsible>1,0</Collapsible> + <SplitSizesConfigKey>[Skin],librarySidebar_splitsize</SplitSizesConfigKey> + <Children> + <!-- Sidebar etc. --> + <WidgetGroup> + <Layout>vertical</Layout> + <Children> + <Template src="skin:preview_deck.xml"/> + + <SearchBox></SearchBox> + + <WidgetGroup><Size>,5f</Size></WidgetGroup> + + <!-- Tree View | Cover Art --> + <Splitter> + <Size>e,me</Size> + <SplitSizes>1,e</SplitSizes> + <Collapsible>0,0</Collapsible> + <Children> + <LibrarySidebar></LibrarySidebar> + <CoverArt> + <MinimumSize>16,16</MinimumSize> + <SizePolicy>me,me</SizePolicy> + <Connection> + <ConfigKey>[Library],show_coverart</ConfigKey> + <BindProperty>visible</BindProperty> + </Connection> + </CoverArt> + </Children> + </Splitter> + + </Children> + </WidgetGroup><!-- Sidebar etc. --> + + <Library> + <ShowButtonText>false</ShowButtonText> + <TrackTableBackgroundColorOpacity>0.125</TrackTableBackgroundColorOpacity> + </Library> + + </Children> + </Splitter> + </Children> + </WidgetGroup><!-- LibraryContainer --> + </Children> + </WidgetGroup> +</Template> diff --git a/res/skins/Shade/skin.xml b/res/skins/Shade/skin.xml index 2d91375065..3bf5c11790 100644 --- a/res/skins/Shade/skin.xml +++ b/res/skins/Shade/skin.xml @@ -273,6 +273,13 @@ </Children> </SingletonDefinition> + <SingletonDefinition> + <ObjectName>Library</ObjectName> + <Children> + <Template src="skin:library.xml"/> + </Children> + </SingletonDefinition> + <!-- ############################################################################################ ############################################################################################ @@ -396,66 +403,9 @@ <!-- minimal decks, visible with maximized library --> <Template src="skin:decks_row_small.xml"/> - <!-- - ********************************************** - Library / Preview Deck / Search / Tree view - ********************************************** - --> - <WidgetGroup> - <ObjectName>LibraryContainer</ObjectName> - <SizePolicy>me,i</SizePolicy> - <Layout>horizontal</Layout> - <Style> - </Style> - <Children> - <Splitter> - <Size>me,me</Size> - <SplitSizes>1,6</SplitSizes> - <Collapsible>1,0</Collapsible> - <SplitSizesConfigKey>[Skin],librarySidebar_splitsize</SplitSizesConfigKey> - <Children> - <!-- Sidebar etc. --> - <WidgetGroup> - <Layout>vertical</Layout> - <Children> - <Template src="skin:preview_deck.xml"/> - - <!--Search Input Field--> - <SearchBox></SearchBox> - - <WidgetGroup><Size>,5f</Size></WidgetGroup> - - <!--Library Tree View--> - <Splitter> - <Size>e,me</Size> - <SplitSizes>1,e</SplitSizes> - <Collapsible>0,0</Collapsible> - <Children> - <LibrarySidebar></LibrarySidebar> - <!--Cover Art--> - <CoverArt> - <MinimumSize>16,16</MinimumSize> - <SizePolicy>me,me</SizePolicy> - <Connection> - <ConfigKey>[Library],show_coverart</ConfigKey> - <BindProperty>visible</BindProperty> - </Connection> - </CoverArt> - </Children> - </Splitter> - - </Children> - </WidgetGroup><!-- Sidebar etc. --> - - <Library> - <ShowButtonText>false</ShowButtonText> - <TrackTableBackgroundColorOpacity>0.125</TrackTableBackgroundColorOpacity> - </Library> - - </Children> - </Splitter> - </Children> - </WidgetGroup><!-- LibraryContainer --> + <SingletonContainer> + <ObjectName>Library</ObjectName> + </SingletonContainer> </Children> </WidgetGroup> </Children> |