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 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. 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 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 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. 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. 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 ? 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. 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 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 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now