Fix styles as Styles (not ResourceDictionary); replace DataTriggers with width converters; add IsZeroConverter; remove unsupported properties; fix ancestor command bindings; bind SplitView props directly.

This commit is contained in:
Codex CLI 2025-08-27 03:23:40 -05:00
commit 1667fc8b3d
9 changed files with 146 additions and 101 deletions

View file

@ -1,10 +1,12 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Android overrides: larger, touch-first -->
<x:Double x:Key="FontSizeBase">16</x:Double>
<x:Double x:Key="FontSizeLarge">18</x:Double>
<x:Double x:Key="IconSizeM">24</x:Double>
<x:Double x:Key="LineHeightBase">1.35</x:Double>
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Styles.Resources>
<!-- Android overrides: larger, touch-first -->
<x:Double x:Key="FontSizeBase">16</x:Double>
<x:Double x:Key="FontSizeLarge">18</x:Double>
<x:Double x:Key="IconSizeM">24</x:Double>
<x:Double x:Key="LineHeightBase">1.35</x:Double>
</Styles.Resources>
<!-- Thin overlay-like scrollbars -->
<Style Selector="ScrollBar:vertical">
@ -13,5 +15,4 @@
<Style Selector="ScrollBar:horizontal">
<Setter Property="Height" Value="8"/>
</Style>
</ResourceDictionary>
</Styles>