Kachar ganyalong Posted March 24, 2017 Share Posted March 24, 2017 how to set bigger UniTabsheet bar and font? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 24, 2017 Share Posted March 24, 2017 Can you try these solutions now ?!: http://forums.unigui.com/index.php?/topic/7572-tunitabsheet-change-font-colour/ http://forums.unigui.com/index.php?/topic/6484-tunitabsheet-caption-bold-not-bold/ Quote Link to comment Share on other sites More sharing options...
Kachar ganyalong Posted March 24, 2017 Author Share Posted March 24, 2017 thank you, I can set the bigger font by UniSession.AddJS(UniTabSheet1.JSName + '.tab.btnInnerEl.setStyle("fontSize", "12")'); but still can not set the size of UniTabSheet bar height Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 24, 2017 Share Posted March 24, 2017 You can analyze this post: http://forums.unigui.com/index.php?/topic/7111-tabbar-height/ Quote Link to comment Share on other sites More sharing options...
Kachar ganyalong Posted March 24, 2017 Author Share Posted March 24, 2017 Thank you, all done. first i put this in PageControl -> ClientEvents -> ExtEvents -> [Ext.tab.Panel [tabPanel]] -> afterrender fn: function tabPanel.afterrender(sender, eOpts) { var _height = 35; sender.tabBar.setHeight(_height); sender.tabBar.items.each(function(el) { el.setHeight(_height) }) } then put this in each UniTabsheet extevents function afterrender(sender, eOpts) { sender.tab.btnInnerEl.setStyle("fontSize", "12"); } Works! now I'm in love with javaScript. Quote Link to comment Share on other sites More sharing options...
Ron Posted March 26, 2017 Share Posted March 26, 2017 "now I'm in love with javaScript." JS is like a cute and clever woman - you never know exactly what she's gonna do, and how she's gonna do it, and if she will even do it, and if so, when she's gonna do it Any coder cannot help but being infatuated by such an interesting partner... 2 Quote Link to comment Share on other sites More sharing options...
yordysv Posted March 29, 2017 Share Posted March 29, 2017 you guys are great!!!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.