Roberto Nicchi Posted June 22, 2022 Share Posted June 22, 2022 Hello. I use the CSS below to customize Tunitreeview Now the text for each note is aligned to the top, as you can see in this screenshot. I'd like the text is centered vertically. Thanks .menu .x-tree-icon { width: 32px; height: 32px; line-height: 32px; cursor: pointer; } .menu .x-tree-elbow-img { width: 18px; height: 30px; line-height: 32px; } .menu .x-tree-node-text { line-height: 24px; cursor: pointer; font: 600 12px/15px Segoe UI; } .menu .x-tree-view { background-color: #F0F0F0; } .menu .x-tree-view .x-grid-item { background-color: #F0F0F0; } .menu .x-tree-view .x-grid-item-alt { background-color: BlueViolet; } .menu .x-tree-view .x-grid-item-over { background-color: Aqua; } .menu .x-tree-view .x-grid-item-selected { background-color: Aquamarine; } .menu .x-tree-view .x-grid-item-focused .x-grid-cell-inner:before { border: none; } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 22, 2022 Share Posted June 22, 2022 30 minutes ago, Roberto Nicchi said: .menu .x-tree-node-text { line-height: 24px; cursor: pointer; font: 600 12px/15px Segoe UI; } .menu .x-tree-node-text { line-height: 24px !important; cursor: pointer; font: 600 12px/15px Segoe UI; } Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted June 22, 2022 Author Share Posted June 22, 2022 7 minutes ago, Sherzod said: .menu .x-tree-node-text { line-height: 24px !important; cursor: pointer; font: 600 12px/15px Segoe UI; } Perfect. Thanks. 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.