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}"
Background="#3E3E42" Foreground="White" ToolTip="Create New Model" /> Margin="0 0 0 6"
</StackPanel> Padding="6 3"
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}"