EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: crosemffet on April 06, 2013, 07:22:13 AM



Title: treegrid css simple question
Post by: crosemffet 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, 


Title: Re: treegrid css simple question
Post by: stworthy 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>