Avalonia.ExtendedToolkit icon indicating copy to clipboard operation
Avalonia.ExtendedToolkit copied to clipboard

PropertyGrid - text is invisible in all the "Light" themes

Open MikePelton opened this issue 1 year ago • 0 comments

All text in all the "Light." themes for a PropertyGrid is coloured a very pale blue and hence unreadable. Weirdly the Avalonia DevTools Diagnostic reports the foreground colour as Black, so it looks like some inner chunk of the textbox template is somehow finding that pale colour. This effect shows up in the demo application, and can also be seen if you put a preview control textbox into (for example) Light.Blue.axaml.

  <Design.PreviewWith>
        <Border Padding="20">
            <TextBox>Banana</TextBox>
        </Border>
    </Design.PreviewWith>

Putting a TextBlock in instead gets the expected black text.

MikePelton avatar Jan 02 '23 12:01 MikePelton