How to make tab buttons width flexible - ionic 2

Is there any way to make the width of tabs buttons flexible ?

for example this my normal tabs


I want to make the tabs width such as this image


I could show the full text by this css code

.tab-button {
   min-width: fit-content;

but the result was such as the this picture