Jump to content
LaunchBox Community Forums

Artik

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Artik

  • Rank
    8-Bit Processor

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I continue this topic if I'm facing little issue to avoid creating a new topic. Do you know if on the categorie listing (here I have 4 catégories) To add the number of games icluded in each one of them ? I know we have this number (displayed down right) but how to include it after the category's name ? I tried to edit the FilterView.xml, but I always have an error . How can I do it ? <TextBlock Name="CategoriesListing" Text="{Binding Path=Name} (253)" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" HorizontalAlignment="Stretch" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/Arcadust/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20" Foreground="white" />
  2. Oops, any help ? It seems the checkboxes resize the text. Where can I set/change this to fix it ?
  3. Solution found!!! TextGameView.xaml (for the games listing) : <TextBlock Name="GamesListing" Text="{Binding Path=Title}" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" HorizontalAlignment="Stretch" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/Arcadust/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20" Foreground="white" /> FilterView.xaml (for the categories listing) : <TextBlock Name="CategoriesListing" Text="{Binding Path=Name}" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" HorizontalAlignment="Stretch" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/Arcadust/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20" Foreground="white" /> MenuItemView.xaml (for the settings listing) : <TextBlock Name="MenuItems" Text="{Binding Path=Text}" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" HorizontalAlignment="Stretch" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/Arcadust/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20" Foreground="white" /> Many thanks @Jason a big big step!
  4. Damn, the error was because I made a mistake with double TextBlock with same name. So I tried to rename as "test". Nothing appears:
  5. I'll, but seems more complicated than expected. Let's wait the Jason's answer in the other topic I created
  6. Well, I spent so many time that all you suggest has been already tried. If I change the name Title in <TextBlock Name="Title" > by anything else, I have an error. I also tried to look all parent files, and I can't find any file that could override the TextGameView.xaml (and yes, this is one of the 3 files I want to change the fontsize/family) Strange the a plugin exists to do it. Any help is really appeciated, would love to finish the skin and post it. @Jason can you try at home and let me know if you figured it out?
  7. Little up @Jason . Honestly I really think we have a bug here, some fonts sizes are impossible to change (like the game listing) without using a plugin, and with plugin the fontfamily doesn't work, last step for me to finish the skin A fix is welcome, because your last commit with .tff linking is amazing!
  8. Ok, I tried what you said, unfortunately, I still can't change any fontsize in the gamelist. I think I understood your suggestion. So I edited my TextGameView.xaml with these settings: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" HorizontalAlignment="Stretch" MaxWidth="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}" FocusVisualStyle="{x:Null}"> <Border Name="Border" Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"> <DockPanel> <TextBlock Name="Favorite" DockPanel.Dock="Left" Visibility="{Binding FavoriteVisibility}" Foreground="#ff3434" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/CityHunter 2/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="10" >★</TextBlock> <TextBlock Name="Title" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" HorizontalAlignment="Stretch" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/CityHunter 2/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="10" Foreground="white" /> </DockPanel> </Border> </UserControl> As you can see, the custom fontfamily is working on my screenshot, but not the fontsize. I tried to change as you suggested the Name="Title" (thinking that all "Title" have the same fontsize. But the game list disappears. I tried also another Name that exists (maybe the fontsize will be smaller) so I tried Name="PlatformDetails" Listing disappears too. Honestly, if you find the way to get a custom font with customisable fontsize, it would be amazing. Hours spent to find the magic solution. Help will be really appreciated haha. Actual state of the skin's mod:
  9. I'll search more I'm also stuck with the "Recent" and "Favorite" titles. EDIT! Founded. I added in ThumbnailListView.xaml FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/CityHunter 2/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20" The bloc: <DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> <TextBlock Name="Title" DockPanel.Dock="Top" Foreground="White" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/CityHunter 2/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20" /> <ListBox Name="Items" Style="{DynamicResource ThumbnailListBoxStyle}" SelectedItem="{Binding SelectedItem}" > <i:Interaction.Triggers> <i:EventTrigger EventName="MouseDoubleClick"> <cal:ActionMessage MethodName="OnEnter" /> </i:EventTrigger> </i:Interaction.Triggers> </ListBox> </DockPanel> 🤗 Now only the gamelist fontsize + custom font to solve ...
  10. Yes @y2guru I also finally managed to display custom fonts. My only concern, is that it seems impossible to change the font size + custom font. Did you manage to change the games list custom font and changing the font size at the same time? If yes, I'd love to know what I'm doing wrong.
  11. I can't believe ..... Tought was part of the synthax! It works now, thanks for help. I continue my work, and here another question I have. Still in the gamelisting, Can I change the font and size using the same .ttf ? (it's temporary small on purpose, and I'm using the "ListBox Scroll Center for BigBox" plugin to manage the fontsize. Is there a way to combine both for this listing? Custom font and small font size? Spent hours without success)
  12. Checked again and again, but I don't see where the path is wrong (Font downloaded from Dafont, and I checked the name. "#Blazed" is correct)
  13. But I'm also trying in a classic bloc, couldn't get it working. Here is my FilterDetailsView.xaml bloc: <TextBlock Text="Details" FontFamily="LAUNCHBOX_ROOT_FOLDER/Startup Themes/CityHunter 2/Blazed.ttf#Blazed" FontSize="40" TextWrapping="Wrap" DockPanel.Dock="Top" > <TextBlock.Foreground> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFFE1C1C" Offset="1"/> <GradientStop Color="#FFFF3737"/> </LinearGradientBrush> </TextBlock.Foreground> </TextBlock> Font "Blazed.ttf" is at the root of my "CityHunter 2" folder in "Themes", and new font is not applied And latest 9.6 version. Don't know what am I doing wrong
×
×
  • Create New...