- XaeroDegreaz
- Posts: 29
- Joined:
ListBox with HorizontalAlignment set to "Stretch" moves list content left when pressing buttons
I have a TabControl with a Tabitem, as defined below:
When pressing the Button, the ListBox content shifts to the left. It also happens when the width of the ListBox is the same size as the container.
Code: Select all
<ListBox
x:Name="KeyBindingsList"
Height="Auto"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListBox.ItemTemplate>
<DataTemplate>
<UniformGrid Columns="2">
<Label Content="{Binding Path=Name}" VerticalAlignment="Center" />
<Button Content="{Binding Path=PrimaryKeyName}" />
</UniformGrid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: ListBox with HorizontalAlignment set to "Stretch" moves list content left when pressing buttons
I was able to reproduce it.
It seems a problem with the implementation of BrintIntoView for the focused element.
Please create a ticket in our bugtracker and we will try to fix it as soon as possible.
It seems a problem with the implementation of BrintIntoView for the focused element.
Please create a ticket in our bugtracker and we will try to fix it as soon as possible.
- XaeroDegreaz
- Posts: 29
- Joined:
Re: ListBox with HorizontalAlignment set to "Stretch" moves list content left when pressing buttons
Clicking your link produces a 403 for me.
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: ListBox with HorizontalAlignment set to "Stretch" moves list content left when pressing buttons
I forgot de http in front of the address... the link is fixed now: bugtracker.
Who is online
Users browsing this forum: No registered users and 6 guests