rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
703 stars 94 forks source link

ComboBox color customization? #460

Open Kubrix opened 2 months ago

Kubrix commented 2 months ago
cbMain.Items.Add(new ListItem("Red", Color.Red));
cbMain.Items.Add(new ListItem("Green", Color.Green));
cbMain.Items.Add(new ListItem("Blue", Color.Blue));
cbMain.Background =  new SolidBrush(Color.Gray);
cbMain.FocusedBackground = new SolidBrush(Color.Yellow);

Expected: Gray background color of list, Yellow background color under selected item

Observed: image