mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 06:56:10 +00:00
Correctifs couleurs, police, barre de recherche sur nougat
This commit is contained in:
parent
9cc8b2a5ee
commit
4cd979acee
4 changed files with 7 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ namespace AideDeJeu.Tools
|
|||
var cstring = string.Empty;
|
||||
foreach (var str in strings)
|
||||
{
|
||||
cstring += str + "\n";
|
||||
cstring += str + "\n\n";
|
||||
}
|
||||
return cstring;
|
||||
// var fs = new FormattedString();
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ namespace AideDeJeu.Tools
|
|||
if (block is Markdig.Syntax.ParagraphBlock)
|
||||
{
|
||||
var paragraphBlock = block as Markdig.Syntax.ParagraphBlock;
|
||||
spell.DescriptionHtml += MarkdownToHtml(paragraphBlock.ToMarkdownString());
|
||||
spell.DescriptionHtml += MarkdownToHtml(paragraphBlock.ToMarkdownString()) + "\n";
|
||||
////DumpParagraphBlock(paragraphBlock);
|
||||
//Console.WriteLine(paragraphBlock.IsBreakable);
|
||||
//spell.DescriptionHtml += paragraphBlock.Inline.ToContainerString();
|
||||
|
|
@ -178,7 +178,7 @@ namespace AideDeJeu.Tools
|
|||
if (ininblock is Markdig.Syntax.ParagraphBlock)
|
||||
{
|
||||
var paragraphBlock = ininblock as Markdig.Syntax.ParagraphBlock;
|
||||
spell.DescriptionHtml += listBlock.BulletType + " " + MarkdownToHtml(paragraphBlock.ToMarkdownString());
|
||||
spell.DescriptionHtml += listBlock.BulletType + " " + MarkdownToHtml(paragraphBlock.ToMarkdownString()) + "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,13 @@ namespace AideDeJeu.Tools
|
|||
this.Margin = 0;
|
||||
var fd = FormatedTextHelpers.FontData.FromResource("content");
|
||||
//this.Paragraph.FontFamily = fd.FontFamily;
|
||||
//this.Paragraph.FontFamily = "Droid Serif";
|
||||
this.Paragraph.FontFamily = "serif";
|
||||
this.Paragraph.FontSize = (float)fd.FontSize;
|
||||
this.Paragraph.Attributes = fd.FontAttributes;
|
||||
this.Paragraph.ForegroundColor = fd.TextColor;
|
||||
|
||||
this.Paragraph.BackgroundColor = DefaultBackgroundColor;
|
||||
this.BackgroundColor = DefaultBackgroundColor;
|
||||
//this.Paragraph.ForegroundColor = DefaultTextColor;
|
||||
this.Heading1.ForegroundColor = DefaultTextColor;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<ToolbarItem Name="About" Text="À propos de..." Order="Secondary" Icon="wooden_sign.png" Command="{Binding AboutCommand}" />
|
||||
</ContentPage.ToolbarItems>
|
||||
<StackLayout Orientation="Vertical" VerticalOptions="Fill" HorizontalOptions="Fill">
|
||||
<SearchBar x:Name="SearchBar" SearchCommand="{Binding SearchCommand}" SearchCommandParameter="{Binding Text, Source={x:Reference SearchBar}}">
|
||||
<SearchBar x:Name="SearchBar" HeightRequest="42" SearchCommand="{Binding SearchCommand}" SearchCommandParameter="{Binding Text, Source={x:Reference SearchBar}}">
|
||||
<SearchBar.Behaviors>
|
||||
<tools:TextChangedBehavior />
|
||||
</SearchBar.Behaviors>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue