EasyUI Forum
September 16, 2025, 01:01:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: treegrid css simple question  (Read 9088 times)
crosemffet
Jr. Member
**
Posts: 68



View Profile WWW Email
« on: April 06, 2013, 07:22:13 AM »

in my treegrid, I've reduced the font size from 12px to 9px.
everything works fine, except icons remains not aligned with texts (text needs to be moved 2 pixels downside).
I've been searching in css styles, and could'n find it.
please can be someone so kind to tell me where should I modify / add padding or property to move down 2 pixels the text shown in each row / cell in a treegrid?
thanks in advance, 
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: April 08, 2013, 06:57:50 PM »

How do you change the font size? Please try to add the code below to your page.
Code:
<style type="text/css">
.datagrid-cell,.datagrid-cell-group,.datagrid-header-rownumber,.datagrid-cell-rownumber{
font-size:9px;
}
.tree-title{
font-size:9px;
}
</style>
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!