File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 508
508
<Grid .RowDefinitions>
509
509
<RowDefinition x : Name =" RegexLanguageElementFirstRow" Height =" *" MinHeight =" 50" />
510
510
<RowDefinition Height =" 5" />
511
- <RowDefinition Height =" 0.1*" MinHeight =" 30 " />
511
+ <RowDefinition Height =" 0.1*" MinHeight =" 20 " />
512
512
</Grid .RowDefinitions>
513
513
<TreeView Name =" RegexLanguagesElementsTreeView"
514
514
SelectedItemChanged =" RegexLanguagesElementsTreeView_SelectedItemChanged" >
547
547
<Grid .RowDefinitions>
548
548
<RowDefinition x : Name =" ReplaceLanguageElementFirstRow" Height =" *" MinHeight =" 50" />
549
549
<RowDefinition Height =" 5" />
550
- <RowDefinition Height =" 0.1*" MinHeight =" 30 " />
550
+ <RowDefinition Height =" 0.1*" MinHeight =" 20 " />
551
551
</Grid .RowDefinitions>
552
552
<ListView Name =" ReplaceLanguageElementsListView" SelectionChanged =" ReplaceLanguageElementsListView_SelectionChanged" >
553
553
<ListView .ItemTemplate>
Original file line number Diff line number Diff line change @@ -1158,12 +1158,6 @@ private void SetMaxSizes()
1158
1158
try
1159
1159
{
1160
1160
RegexEditorRow . MaxHeight = Root . ActualHeight - RegexEditor . TransformToAncestor ( Root ) . Transform ( new Point ( 0 , 0 ) ) . Y - 5 - 10 ;
1161
- if ( OptionTabControl . SelectedItem . Equals ( RegexTabItem ) )
1162
- RegexLanguageElementFirstRow . MaxHeight = Root . ActualHeight - RegexLanguagesElementsTreeView . TransformToAncestor ( Root ) . Transform ( new Point ( 0 , 0 ) ) . Y - 5 - 40 ;
1163
- if ( OptionTabControl . SelectedItem . Equals ( ReplaceTabItem ) )
1164
- ReplaceLanguageElementFirstRow . MaxHeight = Root . ActualHeight - ReplaceLanguageElementsListView . TransformToAncestor ( Root ) . Transform ( new Point ( 0 , 0 ) ) . Y - 5 - 40 ;
1165
- //FirstColumn.MaxWidth = Math.Max(Root.ActualWidth - 10 - 100, 0);
1166
- //SecondColumn.MaxWidth = Math.Max(Root.ActualWidth - Math.Min(FirstColumn.ActualWidth, Root.ActualWidth) - 10 - 40, 0);
1167
1161
}
1168
1162
catch { }
1169
1163
}
You can’t perform that action at this time.
0 commit comments