dompod Posted December 7, 2017 Share Posted December 7, 2017 how do I make a theme for music box Quote Link to comment Share on other sites More sharing options...
NJDave71 Posted December 8, 2017 Share Posted December 8, 2017 I don't believe that feature is supported yet. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 9, 2017 Share Posted December 9, 2017 @dompod It is actually supported, though there's no documentation or tutorials on it quite yet. Still, if you check out the tutorials for theming Big Box, it's pretty much the same for Music Box. Quote Link to comment Share on other sites More sharing options...
dompod Posted December 9, 2017 Author Share Posted December 9, 2017 which file has the default background inside Quote Link to comment Share on other sites More sharing options...
dompod Posted December 10, 2017 Author Share Posted December 10, 2017 Quote Link to comment Share on other sites More sharing options...
neil9000 Posted December 10, 2017 Share Posted December 10, 2017 Music Box Alpha/Themes is where the default theme is. Quote Link to comment Share on other sites More sharing options...
dompod Posted December 10, 2017 Author Share Posted December 10, 2017 3 hours ago, neil9000 said: Music Box Alpha/Themes is where the default theme is. no I'm in the background for the default thing what line of code is it in Quote Link to comment Share on other sites More sharing options...
dompod Posted December 10, 2017 Author Share Posted December 10, 2017 2 hours ago, dompod said: no I'm in the background for the default thing what line of code is it in what line of code references changing this specific background Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 11, 2017 Share Posted December 11, 2017 @dompod Should be the ContentBackgroundView. I believe if you name the image something different than "Image", you should be able to override what the background image is. Quote Link to comment Share on other sites More sharing options...
dompod Posted December 11, 2017 Author Share Posted December 11, 2017 2 hours ago, Jason Carr said: @dompod Should be the ContentBackgroundView. I believe if you name the image something different than "Image", you should be able to override what the background image is. it's not working and keep getting errors can we please communicate using a VoIP service pm me Quote Link to comment Share on other sites More sharing options...
Altersphinx Posted March 29, 2022 Share Posted March 29, 2022 I also would like to know how to change background. Quote Link to comment Share on other sites More sharing options...
faeran Posted March 31, 2022 Share Posted March 31, 2022 On 3/28/2022 at 11:39 PM, Altersphinx said: I also would like to know how to change background. Gave it a shot this morning, and while there's probably better ways to do this, here's how you can change the background to a static image: Go into the MusicBoxAlpha\Themes folder and make a copy of the Default theme (call it whatever you'd like) Place your background image into your new theme folder, under Images (example: MusicBoxAlpha\Themes\[My New Theme]\Images), call the image whatever you'd like (in my example below I called it background.jpg) In your new theme folder, go into the Views folder and open the ContentBackgroundView.xaml file in a text editor. Delete the entire Image line, save and close <Image Name="Image" HorizontalAlignment="{Binding HorizontalAlignment}" VerticalAlignment="{Binding VerticalAlignment}" Stretch="{Binding Stretch}" RenderOptions.BitmapScalingMode="HighQuality" /> Now open the MainView.xaml file in a text editor. The first Grid, close to the top will look something like this: <Grid Background="{Binding SolidContentBackgroundBrush}"> Delete the background part: Background="{Binding SolidContentBackgroundBrush}" Now you'll want to add the following code just below <Grid> <Grid.Background> <ImageBrush ImageSource="pack://siteoforigin:,,,/Themes/[My New Theme]/Images/background.jpg" Stretch="UniformToFill" /> </Grid.Background> Change [My New Theme] to whatever you called your theme Change background.jpg to whatever you called your image In MusicBoxAlpha, go into the Settings and change to your custom theme, and you should now see your static background image. Quote Link to comment Share on other sites More sharing options...
Altersphinx Posted March 31, 2022 Share Posted March 31, 2022 I have tried it and it worked. Thank you for your reply. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.