patmap Posted July 25, 2011 Share Posted July 25, 2011 Hi, How can change TUniDBGrid Title font to Tahoma ? I changed TitleFont property to Tahoma, but not effect in WebApplication. Best Regards Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2011 Administrators Share Posted July 25, 2011 Tahoma is the default Font and in order to optimize traffic default values aren't sent to the browser. Quote Link to comment Share on other sites More sharing options...
patmap Posted July 25, 2011 Author Share Posted July 25, 2011 Hi, But Tahoma font not effect in TUniDBGrid, if i add previous CSS file tahoma effect ! It use another font. Best Regards Quote Link to comment Share on other sites More sharing options...
patmap Posted July 25, 2011 Author Share Posted July 25, 2011 Hi, Compare tow picture please ! No CSS -> Not Tahoma With CSS -> Tahoma Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2011 Administrators Share Posted July 25, 2011 Sorry, but I couldn't find where I should look in above images. Quote Link to comment Share on other sites More sharing options...
patmap Posted July 25, 2011 Author Share Posted July 25, 2011 Hi, Compare different font in two image. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2011 Administrators Share Posted July 25, 2011 Which CSS class did you change ? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2011 Administrators Share Posted July 25, 2011 Here is the default CSS for grid rows: .x-grid3-hd-row td, .x-grid3-row td, .x-grid3-summary-row td { font:normal 11px arial, tahoma, helvetica, sans-serif; } In my browser Tahoma is used by default. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2011 Administrators Share Posted July 25, 2011 I will log an issue for this. I will add an option to TUniFont so font will always be sent event when it is default font. Logged #1103 Quote Link to comment Share on other sites More sharing options...
patmap Posted July 26, 2011 Author Share Posted July 26, 2011 Which CSS class did you change ? Hi, Mr. Farshad I wrote a custom main.css: .x-grid-panel * { font-family: Tahoma; } and put this file in CustomFiles property in TUniGUIServerModule. Attention: if you not put ( * ) (Star Character) after x-grid-panel class font not affect in other sub tags in DBGrid; Best Regards Quote Link to comment Share on other sites More sharing options...
patmap Posted July 26, 2011 Author Share Posted July 26, 2011 Hi, Mr. Farshad One other thing, The DBGrid Footer ( Page x Of x) Font not change with above css ! Only change with this: .x-toolbar table *{ font-family: Tahoma; } and full css for DBGrid is: .x-grid-panel, .x-toolbar table *{ font-family: Tahoma; } Best Regards 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.