Open ividyon opened 1 year ago
Describe the bug ResizeMode="CanResizeWithGrip" adds a little resize grip element to the bottom right of a window for resizing purposes.
ResizeMode="CanResizeWithGrip"
Adding ResizeMode="CanResizeWithGrip" to the definition of the Adonis window makes the title bar disappear.
To Reproduce
<adonisControls:AdonisWindow x:Class="RainbowStoneWPF.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:RainbowStoneWPF" xmlns:adonisControls="clr-namespace:AdonisUI.Controls;assembly=AdonisUI" xmlns:adonisUi="clr-namespace:AdonisUI;assembly=AdonisUI" xmlns:adonisExtensions="clr-namespace:AdonisUI.Extensions;assembly=AdonisUI" mc:Ignorable="d" Title="Rainbow Stone" Width="1280" Height="720" ResizeMode="CanResizeWithGrip" > <adonisControls:AdonisWindow.TitleBarContent> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> <Button Content="?" Style="{DynamicResource {x:Static adonisUi:Styles.WindowButton}}" FontFamily="Segoe UI" FontSize="14"/> </StackPanel> </adonisControls:AdonisWindow.TitleBarContent> <adonisControls:AdonisWindow.Style> <Style TargetType="adonisControls:AdonisWindow" BasedOn="{StaticResource {x:Type adonisControls:AdonisWindow}}" /> </adonisControls:AdonisWindow.Style> </adonisControls:AdonisWindow>
Expected behavior There is an Adonis title bar and a resize grip in the bottom corner.
Screenshots
Without ResizeMode line:
Describe the bug
ResizeMode="CanResizeWithGrip"
adds a little resize grip element to the bottom right of a window for resizing purposes.Adding
ResizeMode="CanResizeWithGrip"
to the definition of the Adonis window makes the title bar disappear.To Reproduce
Expected behavior There is an Adonis title bar and a resize grip in the bottom corner.
Screenshots
Without ResizeMode line: