Style: replaced Toolbar background PNG with qlineargradient CSS
The current toolbar backgrounds are just PNGs with a linear gradient inside. We can achieve the same by using qlineargradient property in the according style.css.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 652 B |
@@ -131,11 +131,11 @@ nameLabel, effectLabel, sf2InstrumentView > QLabel {
|
||||
|
||||
|
||||
QWidget#mainToolbar {
|
||||
background-image: url(resources:main_toolbar_bg.png);
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #4a4a4a, stop: 1.0 #383838);
|
||||
}
|
||||
|
||||
QToolBar {
|
||||
background: url(resources:toolbar_bg.png);
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #4a4a4a, stop: 1.0 #383838);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 164 B |
Binary file not shown.
|
Before Width: | Height: | Size: 716 B |
@@ -113,11 +113,11 @@ nameLabel, effectLabel, sf2InstrumentView > QLabel, QComboBox {
|
||||
|
||||
|
||||
QWidget#mainToolbar {
|
||||
background-image: url(resources:main_toolbar_bg.png);
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #66728c, stop: 1.0 #38404e);
|
||||
}
|
||||
|
||||
QToolBar {
|
||||
background: url(resources:toolbar_bg.png);
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #66728c, stop: 1.0 #38404e);
|
||||
}
|
||||
|
||||
QToolButton, toolButton {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 130 B |
Reference in New Issue
Block a user