Narbat Posted March 16, 2017 Share Posted March 16, 2017 I want to make a minor tweak to the default theme. It seems like it should be easy, but I can't figure out the XAML needed. For the Arcade platform (the only platform I'm using) I want to show the TextGamesView, but I want to show the "Arcade - Controls Information" image as one of the two images in the center column. TextGamesView references ImageView (which looks like it corresponds to Views/ImageView.xaml) and ImageVideoView (which doesn't appear to have a corresponding xaml file). Okay, let's try putting the control image into ImageView.xaml. My first problem is that there's no binding in the documentation for the controls info image. Okay, for the time being let's just try SelectedGame.ClearLogoImagePath, since I have a clear logo image for each game. I change ImageView.xaml from: <Image Source="{Binding ImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" RenderOptions.BitmapScalingMode="HighQuality" MaxHeight="{Binding MaxHeight}" /> to: <Image Source="{Binding Path=SelectedGame.ClearLogoImagePath}" /> Fire it up and... Blank. Nothing in that position on screen. I try variations on the syntax, like omitting "Path=". Nothing. I try other bindings, like SelectedGame.ScreenshotImagePath. Nothing. Switch from SelectedGame to ActiveGame. Nope. It seems that swapping an image should be the easiest thing to do in theming. What am I doing wrong? How do I replace the image in this spot? At the moment my solution is to stick with the unmodified default theme and shuffle around the images in the directory tree. That is, cycle images until the Advertisement Flyer is showing, then remove all the flyer images from the directory and replace them with controls images. But that seems like a huge kludge, and will make it harder to switch to a new theme in the future. How can I do it the right way? Quote Link to comment Share on other sites More sharing options...
BK1208 Posted October 25, 2018 Share Posted October 25, 2018 Did you ever get a reply to this? I am interested in this exact theme? Quote Link to comment Share on other sites More sharing options...
neil9000 Posted October 25, 2018 Share Posted October 25, 2018 You cant edit the default theme, it will revert to default at next launch. This is intentional as a safety backup so there is always a working theme. You can just copy/paste the default theme and edit that though. As for what actually needs editing i'm afraid i cant help there. Quote Link to comment Share on other sites More sharing options...
Gran_Moff_Tarkin Posted December 5, 2019 Share Posted December 5, 2019 (edited) This is an old thread, but I am trying to do the same exact thing, and this keeps showing up as I search for a solution. I was able to show the control information images by changing the image priorities in Launchbox, but would love to be able to show the default images on the platform view, and then the controls information in the top position of the games detail view. If anyone has been able to do this or even change the image types at all, any advice would be much appreciated. Edited December 5, 2019 by Gran_Moff_Tarkin Quote Link to comment Share on other sites More sharing options...
Retro808 Posted December 6, 2019 Share Posted December 6, 2019 21 hours ago, Gran_Moff_Tarkin said: This is an old thread, but I am trying to do the same exact thing, and this keeps showing up as I search for a solution. I was able to show the control information images by changing the image priorities in Launchbox, but would love to be able to show the default images on the platform view, and then the controls information in the top position of the games detail view. If anyone has been able to do this or even change the image types at all, any advice would be much appreciated. If you are talking about the game details page that can be shown after selecting a game which also show the play, launch with, star rating, etc.. than I believe that view cannot be edited to bind a new image. Quote Link to comment Share on other sites More sharing options...
Gran_Moff_Tarkin Posted December 6, 2019 Share Posted December 6, 2019 That is indeed the view that I am trying to edit. It seemed like the image bindings are not able to be edited, but I was hoping that I was missing something. 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.