mirror of
https://gitee.com/wang-yin1/wpf-visual-process-framework
synced 2026-03-04 00:35:45 +08:00
2025-07-16 12:19
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="TabItem">
|
||||
<Grid Background="{TemplateBinding Background}" Height="26">
|
||||
<Grid Background="{TemplateBinding Background}" Height="30" Margin="0,5,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition/>
|
||||
@@ -63,7 +63,8 @@
|
||||
Background="#DFFF"
|
||||
BorderThickness="0"
|
||||
Foreground="#1f71e5"
|
||||
Margin="0,2">
|
||||
Margin="0,2"
|
||||
>
|
||||
<TextBox.InputBindings>
|
||||
<KeyBinding Key="Return"
|
||||
Command="{Binding AcceptTitleCommand}"/>
|
||||
@@ -229,7 +230,7 @@
|
||||
<Grid x:Name="templateRoot" ClipToBounds="true" SnapsToDevicePixels="true"
|
||||
KeyboardNavigation.TabNavigation="Local">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="26"/>
|
||||
<RowDefinition Height="35"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
@@ -239,8 +240,11 @@
|
||||
<ScrollViewer VerticalScrollBarVisibility="Disabled"
|
||||
HorizontalScrollBarVisibility="Visible"
|
||||
Style="{StaticResource TabScrollViewerStyle}">
|
||||
|
||||
<TabPanel x:Name="headerPanel" Background="Transparent"
|
||||
IsItemsHost="true" Margin="2,2,2,0"
|
||||
|
||||
Margin="40,0,0,0"
|
||||
IsItemsHost="true"
|
||||
KeyboardNavigation.TabIndex="1" Panel.ZIndex="1"/>
|
||||
</ScrollViewer>
|
||||
<ToggleButton Grid.Column="1" Name="tb_tabs"
|
||||
@@ -248,7 +252,9 @@
|
||||
Content=""
|
||||
FontFamily="{DynamicResource Iconfont}"/>
|
||||
|
||||
<Border x:Name="contentPanel" Background="{TemplateBinding Background}"
|
||||
<Border x:Name="contentPanel"
|
||||
Margin="0,2"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
Grid.ColumnSpan="2" KeyboardNavigation.DirectionalNavigation="Contained"
|
||||
|
||||
Reference in New Issue
Block a user