refactor: ResouceView

Move ResourceView and all related to ui core namespace GSS2.UI.Core
Split ResourceView on separate elements
Make parts folding depended on size
This commit is contained in:
2026-02-06 08:19:18 +03:00
parent c0336a55fd
commit 55260e0360
16 changed files with 528 additions and 545 deletions
+4 -4
View File
@@ -5,8 +5,8 @@
xmlns:core_vm="using:GSS2.UI.Core.ViewModels"
x:DataType="local_vm:MainViewModel"
x:Class="GSS2.Test.Views.MainView">
<StackPanel Orientation="Vertical">
<ContentControl Content="{Binding CameraViewModel}" Width="200" Height="200"/>
<ContentControl Content="{Binding ResourcesViewModel}"/>
</StackPanel>
<Grid RowDefinitions="*,*">
<ContentControl Grid.Row="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Content="{Binding CameraViewModel}" />
<ContentControl Grid.Row="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Content="{Binding ResourcesViewModel}" />
</Grid>
</UserControl>