szlbz Posted May 29, 2012 Share Posted May 29, 2012 how modify UniMainMenu font and font size Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 29, 2012 Administrators Share Posted May 29, 2012 It is not possible. AFAIK Ext JS menus sizes and fonts are fixed by CSS theme. Quote Link to comment Share on other sites More sharing options...
szlbz Posted May 29, 2012 Author Share Posted May 29, 2012 That Is there any way to modify the font size? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 29, 2012 Administrators Share Posted May 29, 2012 That Is there any way to modify the font size? No, because all internal theme based calculations in Ext JS are done according to fixed menu height. Quote Link to comment Share on other sites More sharing options...
szlbz Posted May 31, 2012 Author Share Posted May 31, 2012 I find the solution in the servermodule unit to open customCSS properties, paste the following into it: .x-window-footer { position: relative; top: 0; right: 0; } .x-tab-strip SPAN.x-tab-strip-text { font-size: 13px; } .x-panel-header { font-size: 13px; } .x-tree-node { font-size: 13px; } .x-grid3-hd-row TD { font-size: 13px; } .x-grid3-row TD { font-size: 13px; LINE-HEIGHT: 18px; } .x-tip .x-tip-bd { font-size: 13px; } .x-tip h3{ font-size: 13px; } .x-tip .x-tip-bd-inner{ font-size:13px; } .x-panel-tl .x-panel-header { FONT: normal 13px tahoma,arial,verdana,sans-serif; } .x-form-field { FONT: 13px tahoma,arial,helvetica,sans-serif } .x-small-editor .x-form-field { FONT: 13px tahoma,arial,helvetica,sans-serif } .x-combo-list-item { FONT: 13px tahoma,arial,helvetica,sans-serif; } .x-btn button,x-toolbar .x-item { FONT: 13px tahoma,arial,sans-serif; } .x-menu-list-item { FONT: 13px tahoma,arial,sans-serif; } .x-window-tl .x-window-header { FONT: bold 13px tahoma,arial,verdana,sans-serif; } .x-layout-split-west .x-layout-mini { BACKGROUND-IMAGE: url(../images/mini-left.jpg); } .x-form-text { margin-top:1px; } /* the textField missing bottom line */ .x-form-item { FONT: 13px tahoma,arial,helvetica,sans-serif } .x-grid-group-hd DIV { FONT: bold 13px tahoma,arial,helvetica,sans-serif; } /*按钮字体大小 Add by extjs.org.cn */ .x-btn-text{ font: 12px tahoma,arial,sans-serif; } /* END */ Quote Link to comment Share on other sites More sharing options...
rencarnacion Posted February 4, 2013 Share Posted February 4, 2013 I try to Do like you show in this message but I doesn't work. Is how Farshad Mohajeri say that the application use the Theme CSS . But I guess That in next version of Unigui, we will can do ti Ronny Encarnacion 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.