Skip to content

Commit

Permalink
Merge pull request #33 from Chrithon/main
Browse files Browse the repository at this point in the history
修改了qss
  • Loading branch information
bitsk authored Oct 6, 2021
2 parents 87660f4 + 9700feb commit 5ade474
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions software/sipeed_keyboard_controller/Diffnes.qss
Original file line number Diff line number Diff line change
Expand Up @@ -991,3 +991,32 @@ QSizeGrip
border: none;

}

/*-----QTabWidget-----*/

QTabBar::tab {
background-color: #051a39;
border-top-left-radius:4px;
border-top-right-radius:4px;
width: 80px;
height: 20px;
padding:2px;
}

/* 标签被选中时或鼠标悬浮时 */
QTabBar::tab:selected,QTabBar::tab:hover {
background-color: gray;
color: white;
}

/* 标签被选中时 */
QTabBar::tab:selected {
background-color: #4891b4;
color: #ffffff;
}

/*-----QTextEdit-----*/
QTextEdit{
background-color: #222222;
color: white;
}

0 comments on commit 5ade474

Please sign in to comment.