Fixed the add button for new function

This commit is contained in:
Ankitkumar Satapara
2026-04-18 20:11:13 +05:30
parent 7fd70219ea
commit 5b6af2a76b

View File

@@ -678,12 +678,14 @@
</ItemsControl> </ItemsControl>
<!-- Separator --> <!-- Separator -->
<StackPanel Orientation="Horizontal" Margin="0 8 0 4"> <TextBlock Text="Models" FontWeight="Bold" Margin="0 8 0 4" />
<TextBlock Text="Models" FontWeight="Bold" VerticalAlignment="Center" /> <Button Content=" Create New Model"
<Button Content="" Margin="8 0 0 0" Padding="6 1" FontSize="10" Cursor="Hand" Command="{Binding Calculator.OperationsMenu.CreateModelCommand}"
Command="{Binding Calculator.OperationsMenu.CreateModelCommand}" Margin="0 0 0 6"
Background="#3E3E42" Foreground="White" ToolTip="Create New Model" /> Padding="6 3"
</StackPanel> Cursor="Hand"
Background="{DynamicResource NodeInput.BorderBrush}"
Foreground="{DynamicResource ForegroundBrush}" />
<!-- Class Model Variables --> <!-- Class Model Variables -->
<ItemsControl ItemsSource="{Binding Calculator.OperationsMenu.AvailableModels}" <ItemsControl ItemsSource="{Binding Calculator.OperationsMenu.AvailableModels}"