1
TheaterMode / Simple embedded Theater mode
« on: April 30, 2023, 12:04:10 PM »
I made a simple embedded TM which displays album artwork and wavebar. Can someone correct the script so that the wavebar stays centered and adjusts its height when you change size of embedded TM.
Code :
<?xml version="1.0" encoding="utf-8"?>
<root>
<settings enableScaling="true" />
<theaterMode>
<settings backgroundColor="180,180,180" />
</theaterMode>
<element name="#RightSidebar" type="Block" xAnchor="Panel.Right" x="-380" y="0" width="380" heightDock="Panel" height="0" ></element>
<element type="SoundGraph" xAnchor="AlbumCover.Right" x="35" yAnchor="AlbumCover.Bottom" y="-210" widthDock="x:Panel.99" width="0" height="180" fg="105, 105, 105" bg="TrackAndArtistPanel(40)"/>
<element type="AlbumCover" x="9" y="9" widthDock="Panel.Height" width="-20" heightDock="Panel" height="-20" min="100" max="300" brightness="1.0" ></element>
</root>
Code :
<?xml version="1.0" encoding="utf-8"?>
<root>
<settings enableScaling="true" />
<theaterMode>
<settings backgroundColor="180,180,180" />
</theaterMode>
<element name="#RightSidebar" type="Block" xAnchor="Panel.Right" x="-380" y="0" width="380" heightDock="Panel" height="0" ></element>
<element type="SoundGraph" xAnchor="AlbumCover.Right" x="35" yAnchor="AlbumCover.Bottom" y="-210" widthDock="x:Panel.99" width="0" height="180" fg="105, 105, 105" bg="TrackAndArtistPanel(40)"/>
<element type="AlbumCover" x="9" y="9" widthDock="Panel.Height" width="-20" heightDock="Panel" height="-20" min="100" max="300" brightness="1.0" ></element>
</root>