Class TextScale
Text sizes of the app scaled from the chosen base size: the titles, small and tiny texts of Styles.axaml grow and shrink with it.
Inherited Members
Namespace: Uniform.Chat.Avalonia.Views
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public static class TextScale
Fields
| Edit this page View SourceNormal
Base text size of the normal setting, which the sizes of Styles.axaml are made for.
Declaration
public const double Normal = 14
Field Value
| Type | Description |
|---|---|
| double |
Methods
| Edit this page View SourceApply(IResourceDictionary, double)
Put the text sizes for textSize into resources; Fluent controls size their text by ControlContentThemeFontSize.
Declaration
public static void Apply(IResourceDictionary resources, double textSize)
Parameters
| Type | Name | Description |
|---|---|---|
| IResourceDictionary | resources | |
| double | textSize |