These are chat archives for AvaloniaUI/Avalonia
<uses-sdk android:minSdkVersion="19" />to support older versions.
X11PlatformOptionsdoes not have
UseDeferredRenderingas the Gt3 version had
Hey I have a quick question. I currently have a scrollview contained in a window as my root element. I wanted to add a dockpanel for menu items locked to the top of the screen and I'm a bit stuck.
If i put the dockpanel at the same level ass the scrollviewer, the designer crashes.
If i contain both at the same level in a parent stackpanel, the menu shows up in the correct place but I can no longer use the scroll function of the scrollviewer.
If I put the dockpanel inside the scrollviewer, it will function, but the menu disappears when I scroll down (which makes sense due to it being a child but this is the closest thing I got to the expected behavior)
What should I do if i want a menu docked to the top, and immediately below it, a scrollviewer whose scroll function will work when it gets over-filled?
<Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Uploader" SizeToContent="1" MinHeight="300" MinWidth="520" CanResize="False" Background="LightGray"> <DockPanel> <Menu DockPanel.Dock="Top"> <MenuItem Header="_File"> <MenuItem Header="_Open..."/> <Separator/> <MenuItem Header="_Exit"/> </MenuItem> <MenuItem Header="_Edit"> <MenuItem Header="Copy"/> <MenuItem Header="Paste"/> </MenuItem> </Menu> <ScrollViewer VerticalScrollBarVisibility="Visible"> <StackPanel Name="Root" HorizontalAlignment="Left" VerticalAlignment="Top" MinWidth="510"> </StackPanel> </ScrollViewer> </DockPanel> </Window>
WpfAvaloniaHostin this package: https://www.nuget.org/packages/Avalonia.Win32.Interoperability/