spiegelp / MaterialDesignExtensions

Material Design Extensions is based on Material Design in XAML Toolkit to provide additional controls and features for WPF apps
https://spiegelp.github.io/MaterialDesignExtensions/
MIT License
767 stars 123 forks source link

About TabItem.Header style customization problem #126

Open beefsteak opened 3 years ago

beefsteak commented 3 years ago

屏幕截图 2021-02-02 161956 I want to give more custom permissions to the TabItem.Header, Like TabControlAssist helper class... Ex: TabControlAssist.TabItemHeaderMargin TabControlAssist .TabItemHeaderHorizontalAlignment TabControlAssist .TabItemHeaderVerticalAlignment

beefsteak commented 3 years ago

This gives the user the flexibility to add a lot of gameplay, Ex: 屏幕截图 2021-02-02 161956 Moving the mouse over the Header range displays the close button,But because the left and right are centered, I can't put the close button flexibly on the far right.

Laritello commented 3 years ago

I agree, run into related problem. Sometimes headers are just too big. I know with smaller margin and font size it would fit almost perfectly, but unfortunately I can't do it.

image