File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33* 修复了部分按钮未套用样式的问题
44* 为消息新增“复制”按钮
5+ * 修复了“向量模型”界面“测试连接”按钮显示不完整的问题
Original file line number Diff line number Diff line change 650650 Foreground =" Gray"
651651 FontSize =" 12" />
652652
653- <Grid Margin =" 0,8,0,0" >
654- <Grid .ColumnDefinitions>
655- <ColumnDefinition Width =" 100" />
656- <ColumnDefinition Width =" *" />
657- </Grid .ColumnDefinitions>
658- <ui : Button Grid.Column=" 0"
659- Content =" {Binding [Settings.Agent.TestConnection], Source={x:Static loc:Loc.Instance}}"
660- Icon =" {ui:SymbolIcon Symbol=PlugConnected24}"
661- Appearance =" Secondary"
662- Command =" {Binding TestEmbeddingConnectionCommand}"
663- IsEnabled =" {Binding Embedding.IsTestingConnection, Converter={StaticResource InverseBool}}" />
664- <TextBlock Grid.Column=" 1"
665- Text =" {Binding Embedding.ConnectionMessage}"
666- TextWrapping =" Wrap"
667- VerticalAlignment =" Center"
668- FontSize =" 12" >
653+ <StackPanel Orientation =" Horizontal" >
654+
655+ <ui : Button
656+ Content =" {Binding [Settings.Agent.TestConnection], Source={x:Static loc:Loc.Instance}}"
657+ Icon =" {ui:SymbolIcon Symbol=PlugConnected24}"
658+ Appearance =" Secondary"
659+ Command =" {Binding TestEmbeddingConnectionCommand}"
660+ IsEnabled =" {Binding Embedding.IsTestingConnection, Converter={StaticResource InverseBool}}" />
661+ <TextBlock
662+ Text =" {Binding Embedding.ConnectionMessage}"
663+ TextWrapping =" Wrap"
664+ VerticalAlignment =" Center"
665+ FontSize =" 12" >
669666 <TextBlock .Style>
670667 <Style TargetType =" TextBlock" >
671668 <Setter Property =" Foreground" Value =" Gray" />
682679 </Style >
683680 </TextBlock .Style>
684681 </TextBlock >
685- </Grid >
682+
683+ </StackPanel >
684+
686685 </StackPanel >
687686
688687 <!-- 记忆配置面板 -->
You can’t perform that action at this time.
0 commit comments