EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: pratikk on April 26, 2015, 07:59:14 AM



Title: How to adjust Tab title font size
Post by: pratikk on April 26, 2015, 07:59:14 AM
I want to adjust the font size of tab title, I  searched the forum, looked up the documentation but there is no explanation for this purpose or I coudn't find it. Pls help


Title: Re: How to adjust Tab title font size
Post by: stworthy on April 26, 2015, 06:46:25 PM
Please refer to the following code.
Code:
<div id="tt" class="easyui-tabs" style="width:90%;height:200px">
    <div title="<span style='font-size:16px'>Tab1</span>">
    </div>
    <div title="<span style='font-size:16px'>Tab2</span>">
    </div>
</div>


Title: Re: How to adjust Tab title font size
Post by: jdx100424 on April 26, 2015, 08:20:53 PM
<div class="easyui-tabs" data-options="fit:true" id="mytab">

</div>

try to use data-options="fit:true"


Title: Re: How to adjust Tab title font size
Post by: pratikk on April 27, 2015, 02:44:13 AM
Thank you. <span></span> is working nice :)