Closed aguahombre closed 8 months ago
You also need to set ZIndex in TabControl's ItemPresenter: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Themes.Default/TabControl.xaml
I've tried that but with the same result
<ItemsPresenter
Name="PART_ItemsPresenter"
Items="{TemplateBinding Items}"
ItemsPanel="{TemplateBinding ItemsPanel}"
ItemTemplate="{TemplateBinding ItemTemplate}"
ZIndex="300"
MemberSelector="{TemplateBinding MemberSelector}" >
</ItemsPresenter>
and also ZIndex={TemplateBinding ZIndex}
@grokys
@Gillibald
I am having this problem in 0.10.0-rc1 with a Canvas as the parent, and Image children. This is modelled on how the BattleCity demo displays its sprites.
The ZIndex on the image is bound to control how images overlap with each other. Resizing the window does not affect how the children are drawn.
I have a problem similar to PR#369 in v0.8.0. I am trying to render the selected TabItem header on top of the tab content using a negative margin but with no success. I am using the styles
with the tab control
I get rendered
I am not expecting to see the border line drawn over the selected tab item.