Jump to content

Tunitreeview. Center text vertically


Roberto Nicchi

Recommended Posts

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.

Screenshot.PNG.ed38e87c44d515af83b2012fd01fa179.PNG

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;
}
 

Link to comment
Share on other sites

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;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...