Angular 4 Material 2 - Center Tab Components
Looks like what you're looking for is the md-stretch-tabs
attribute, which should be applied on <md-tab-group>
:
<md-tab-group md-stretch-tabs>
<md-tab label="Tab 1">
<p>Content for tab 1.</p>
</md-tab>
<md-tab label="Tab 2">
<p>Content for tab 2.</p>
</md-tab>
...
</md-tab-group>
Plunker
This is an internal call that is not supposed to be exposed. An issue an pull request to fix this have been made, but you will not be able to use this API call.
Check this issue on github for updates.
Sorry this isn't the answer you were looking for.