1 questions from the last 7 days
2
votes
1
answer
43
views
Can't get TextBlock to fill the ComboBoxItem in Avalonia
The ItemTemplate for my ComboBox is like this:
new FuncDataTemplate(
typeof(object),
(item, _) => new TextBlock
{
HorizontalAlignment = HorizontalAlignment.Stretch,
Text ...