Skip to content

Commit 57a3459

Browse files
committed
qtdragon_hd -fix stylesheets for 5 axis, adjust qtdragon.ui
1 parent f840f23 commit 57a3459

File tree

3 files changed

+106
-72
lines changed

3 files changed

+106
-72
lines changed

share/qtvcp/screens/qtdragon_hd/dark.qss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ DROLabel,
7474
QLabel#label_axis_x,
7575
QLabel#label_axis_y,
7676
QLabel#label_axis_z,
77-
QLabel#label_axis_a {
77+
QLabel#label_axis_a,
78+
QLabel#label_axis_4,
79+
QLabel#label_axis_5 {
7880
background: qlineargradient(spread:reflect, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(120, 140, 180, 255), stop:0.3 rgba(11, 22, 33, 255));
7981
border: 1px solid black;
8082
border-radius: 4px;
@@ -448,3 +450,4 @@ QTabBar::tab:selected {
448450
QTabBar::tab:!selected {
449451
margin-top: 2px; /* make non-selected tabs look smaller */
450452
}
453+

share/qtvcp/screens/qtdragon_hd/metal.qss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ QLabel {
5656
QLabel#label_axis_x,
5757
QLabel#label_axis_y,
5858
QLabel#label_axis_z,
59-
QLabel#label_axis_a {
59+
QLabel#label_axis_a,
60+
QLabel#label_axis_4,
61+
QLabel#label_axis_5 {
6062
border: 2px solid black;
6163
border-radius: 4px;
6264
font: 20pt "Lato Heavy";
@@ -107,6 +109,12 @@ QComboBox {
107109
color: black;
108110
}
109111

112+
QGroupBox::title {
113+
subcontrol-origin: margin;
114+
padding: 0 3px;
115+
color: black;
116+
}
117+
110118
QGroupBox {
111119
border: 1px solid black;
112120
border-radius: 4px;
@@ -229,3 +237,4 @@ QCheckBox::indicator:unchecked {
229237
height: 25px;
230238
width: 25px;
231239
}
240+

0 commit comments

Comments
 (0)