ButchersBoy / Dragablz

Dragable and tearable tab control for WPF
http://dragablz.net
MIT License
2.17k stars 321 forks source link

AddButton does not move when tab is closed #221

Closed feanara closed 5 years ago

feanara commented 5 years ago

I've created a tabablz UI that I'm happy with, but had to do some overhauling of the templates. Now, for whatever reason, my 'add' button does not follow the tabs as they move over after a tab is closed. It will pop back into place as soon as I click any other tab, but not before.

before: image

after closing a tab: image

after clicking any other tab: image

I can post code if that's helpful.

feanara commented 5 years ago

Solved. I was missing the MaxWidth on the TabablzControl:

`

                                    </dragablz:DragablzItemsControl.MaxWidth>`