|
|
@@ -4,8 +4,21 @@
|
|
|
ExtendClientAreaTitleBarHeightHint="-1"
|
|
|
SizeToContent="WidthAndHeight"
|
|
|
x:Class="PicView.Avalonia.MacOS.Views.ConvertWindow"
|
|
|
+ x:DataType="viewModels:MainViewModel"
|
|
|
xmlns="https://github.com/avaloniaui"
|
|
|
xmlns:main="clr-namespace:PicView.Avalonia.Views.Main;assembly=PicView.Avalonia"
|
|
|
+ xmlns:viewModels="clr-namespace:PicView.Avalonia.ViewModels;assembly=PicView.Avalonia"
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
- <main:ConvertView />
|
|
|
+ <DockPanel PointerPressed="MoveWindow">
|
|
|
+ <Panel Background="Transparent" DockPanel.Dock="Top">
|
|
|
+ <Border Background="{DynamicResource SecondaryBackgroundColor}" Height="28">
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ Text="{CompiledBinding Translation.ConvertTo.Value,
|
|
|
+ Mode=OneWay}"
|
|
|
+ TextAlignment="Center" />
|
|
|
+ </Border>
|
|
|
+ </Panel>
|
|
|
+ <main:ConvertView DockPanel.Dock="Bottom" />
|
|
|
+ </DockPanel>
|
|
|
</Window>
|