As seen on the screenshot I had some issues working with "Tab" buttons.
I'm currently looking into it. The "OptionsFrameTabButtonTemplate" needs to be adjusted via spacer, as seen here:
https://github.com/tekkub/wow-ui-sou...Frame.xml#L215
So you actually have to add another layer changing the width of the tab.
The default "TabButtonTemplate" was actually quite difficult to find in use. But I found an example:
https://github.com/tekkub/wow-ui-sou...rame.xml#L1167
So the size of the TabButton can be changed via OnLoad script.
Lua Code:
PanelTemplates_TabResize(self, 0);
_G[self:GetName().."HighlightTexture"]:SetWidth(self:GetTextWidth() + 31);
The corresponding function can be found here:
https://github.com/tekkub/wow-ui-sou...lates.lua#L142
So working with tab buttons has to include this kind of onLoad script. Not sure why the script (on the template itself is the onload script) does not work properly since as you can see the tab button has a text applied. Currently not sure. Going to debug that.