Jump to content
LaunchBox Community Forums

Floatzel

Members
  • Posts

    7
  • Joined

  • Last visited

Floatzel's Achievements

4-Bit Adder

4-Bit Adder (2/7)

0

Reputation

  1. Hi. How can I make additional applications appear in a window with information about the game? At the moment, additional applications are displayed as a drop-down list. (code from Default LBTheme): <Button Margin="6,0,0,0"> <i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <cal:ActionMessage MethodName="PlayableVersionDropDown"> <cal:Parameter Value="$source" /> </cal:ActionMessage> </i:EventTrigger> </i:Interaction.Triggers> <Button.Style> <Style TargetType="Button"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border BorderThickness="1" Background="{TemplateBinding Background}" BorderBrush="{StaticResource SolidBorderColor}" CornerRadius="3"> <Grid Name="Grid"> <ContentPresenter x:Name="Presenter" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> </Grid> </Border> <ControlTemplate.Triggers> <Trigger SourceName="Grid" Property="IsMouseOver" Value="True"> <Setter TargetName="Grid" Property="Background" Value="{StaticResource MouseOverColor}" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="Background" Value="{StaticResource PrimaryColorSolid}"/> <Style.Triggers> <DataTrigger Binding="{Binding HasPlayableVersions}" Value="False"> <Setter Property="Visibility" Value="Collapsed"/> <Setter Property="IsTabStop" Value="True"/> </DataTrigger> </Style.Triggers> </Style> </Button.Style> <TextBlock FontSize="18" Foreground="White" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" TextAlignment="Center"> <TextBlock.Style> <Style TargetType="{x:Type TextBlock}"> <Setter Property="Text" Value="Additional"/> <Setter Property="Padding" Value="24,0"/> </Style> </TextBlock.Style> </TextBlock> </Button> I tried to do the same as the code from the Omni theme for displaying documents (pdf, jpg, cbr: manuals, etc.) <ItemsControl Margin="3,3,3,0" ItemsSource="{Binding Documents}"> <ItemsControl.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <Image VerticalAlignment="Center" HorizontalAlignment="Left" Stretch="Uniform" StretchDirection="Both" Source="{Binding Icon}"/> <TextBlock Margin="9,0,0,3"> <Hyperlink Command="{Binding ClickCommand}"> <Hyperlink.Style> <Style TargetType="{x:Type Hyperlink}"> <Setter Property="TextBlock.TextDecorations" Value="{x:Null}" /> <Setter Property="TextBlock.Foreground" Value="#A6FFFFFF"/> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="TextBlock.TextDecorations" Value="Underline" /> <Setter Property="TextBlock.Foreground" Value="White"/> </Trigger> </Style.Triggers> </Style> </Hyperlink.Style> <TextBlock Text="{Binding Title}" FontSize="13" TextTrimming="CharacterEllipsis" /> </Hyperlink> </TextBlock> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> <ItemsControl.ItemContainerStyle> <Style> <Setter Property="Control.Margin" Value="0,0,0,6"/> </Style> </ItemsControl.ItemContainerStyle> </ItemsControl> Changing ItemsSource="{Binding Documents}" to ItemsSource="{Binding PlayableVersions}" ItemsSource="{Binding PlayableVersion}" It didn't work. Can you help with the code?
  2. A 600x900 resolution poster (steam poster format) does not meet the criteria of the database?
  3. Yes, everything is fine in the Image View.
  4. After the update, RetroAchievements in LB are not displayed (I checked the themes: Default and Omni). Steam achievements are displayed. What could be the problem?
  5. There are 2 pages of Dark Souls for Windows in the database (identical games) - https://gamesdb.launchbox-app.com/games/details/9884-dark-souls and https://gamesdb.launchbox-app.com/games/details/376219-dark-souls-prepare-to-die-edition. It is possible to attach a link to the Steam page to this option: https://gamesdb.launchbox-app.com/games/details/9884-dark-souls (more ratings, images). The second option is to delete.
  6. Is there any way I can change the size (height) of the background(area)?
×
×
  • Create New...