mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Monaco]Add option to set font size (#32559)
* Add setting to enable/disable it and add Peek support * Add ability to set font size
This commit is contained in:
committed by
GitHub
parent
5b4da37a43
commit
d9008186cf
@@ -16,12 +16,15 @@ namespace Settings.UI.Library
|
||||
|
||||
public BoolProperty SourceCodeTryFormat { get; set; }
|
||||
|
||||
public IntProperty SourceCodeFontSize { get; set; }
|
||||
|
||||
public BoolProperty SourceCodeStickyScroll { get; set; }
|
||||
|
||||
public PeekPreviewSettings()
|
||||
{
|
||||
SourceCodeWrapText = new BoolProperty(false);
|
||||
SourceCodeTryFormat = new BoolProperty(false);
|
||||
SourceCodeFontSize = new IntProperty(14);
|
||||
SourceCodeStickyScroll = new BoolProperty(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user