mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
style<DiffViewer>: minWidth scrollbar size
This commit is contained in:
parent
e5913b6ff6
commit
4d3dc4398b
1 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ namespace SourceGit.UI {
|
|||
12.0,
|
||||
fgCommon);
|
||||
|
||||
var minWidth = editorContainer.ActualWidth - formatted.Width - 16 - 12;
|
||||
var minWidth = editorContainer.ActualWidth - formatted.Width - 16 - 8;
|
||||
var editor = CreateTextEditor(new string[] { "OldLine", "NewLine" });
|
||||
editor.Columns[2].MinWidth = minWidth;
|
||||
editor.ItemsSource = blocks;
|
||||
|
@ -244,7 +244,7 @@ namespace SourceGit.UI {
|
|||
12.0,
|
||||
fgCommon);
|
||||
|
||||
var minWidth = editorContainer.ActualWidth / 2 - formatted.Width - 16 - 12;
|
||||
var minWidth = editorContainer.ActualWidth / 2 - formatted.Width - 16 - 8;
|
||||
|
||||
var oldEditor = CreateTextEditor(new string[] { "OldLine" });
|
||||
oldEditor.SetValue(Grid.ColumnProperty, 0);
|
||||
|
|
Loading…
Reference in a new issue