I have a Group Box as follows:
QGroupBox{
background-color: #000044;
font: 12px consolas;
color: cyan;
}
I wish the border to be more bluish, and then I get:
QGroupBox{
border: 1px solid cyan;
background-color: #000044;
font: 12px consolas;
color: cyan;
}
The title is not centered with the top border of the Group Box and I do not know how to do it.
EDITED:
The possible solution proposed by ekhumoro does not work. I miss the upper-left corner.
QGroupBox{
border: 1px solid cyan;
background-color: #000044;
font: 12px consolas;
color: cyan;
margin-top: 0.5em;
}
QGroupBox::title {
padding-top: -16px;
padding-left: 8px;
}
QGroupBox{
border: 1px solid cyan;
background-color: #000044;
font: 12px consolas;
color: cyan;
margin-top: 0.5em;
}
QGroupBox::title {
background-color: transparent;
padding-top: -16px;
padding-left: 8px;
}