mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: allow to configure editor tab width in preferences window (#1048)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
11af5d9b29
commit
2137ad9ec9
11 changed files with 98 additions and 19 deletions
|
@ -111,6 +111,12 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _editorFontSize, value);
|
||||
}
|
||||
|
||||
public int EditorTabWidth
|
||||
{
|
||||
get => _editorTabWidth;
|
||||
set => SetProperty(ref _editorTabWidth, value);
|
||||
}
|
||||
|
||||
public LayoutInfo Layout
|
||||
{
|
||||
get => _layout;
|
||||
|
@ -649,6 +655,7 @@ namespace SourceGit.ViewModels
|
|||
private bool _useSystemWindowFrame = false;
|
||||
private double _defaultFontSize = 13;
|
||||
private double _editorFontSize = 13;
|
||||
private int _editorTabWidth = 4;
|
||||
private LayoutInfo _layout = new LayoutInfo();
|
||||
|
||||
private int _maxHistoryCommits = 20000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue