diff --git a/demo/Ursa.Demo/Views/MainWindow.axaml b/demo/Ursa.Demo/Views/MainWindow.axaml index a6ee9eb..45760f5 100644 --- a/demo/Ursa.Demo/Views/MainWindow.axaml +++ b/demo/Ursa.Demo/Views/MainWindow.axaml @@ -11,7 +11,7 @@ d:DesignHeight="450" d:DesignWidth="800" x:CompileBindings="True" - IsFullScreenButtonVisible="True" + IsFullScreenButtonVisible="{OnPlatform True,macOS=False}" x:DataType="viewModels:MainWindowViewModel" Icon="/Assets/Ursa.ico" mc:Ignorable="d"> diff --git a/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml b/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml index 3282c9d..1762846 100644 --- a/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml +++ b/src/Ursa.Themes.Semi/Controls/UrsaWindow.axaml @@ -2,7 +2,6 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:u="https://irihi.tech/ursa"> - @@ -11,23 +10,47 @@ - + + + + + True + + + False + + + + + + + True + + + False + + + + + + + True + + + False + + + - + Full - - - Full - - + + None - - - Full - + - + @@ -41,7 +64,7 @@ Margin="{Binding $parent[u:UrsaWindow].TitleBarMargin}" LeftContent="{Binding $parent[u:UrsaWindow].LeftContent}" RightContent="{Binding $parent[u:UrsaWindow].RightContent}" /> - + -