Change zoom in SongEditor to a Slider Zoom (#6664)

Co-authored-by: Dalton Messmer <33463986+messmerd@users.noreply.github.com>
Co-authored-by: Alex <allejok96@gmail.com>
This commit is contained in:
superpaik
2023-08-24 18:02:26 +02:00
committed by GitHub
parent da14de92fe
commit d6cf417a4d
8 changed files with 198 additions and 127 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -418,6 +418,25 @@ lmms--gui--AutomatableSlider::handle:vertical {
margin: -4px -12px -2px;
}
/* main horizontal sliders (zoom) */
lmms--gui--AutomatableSlider::groove:horizontal {
background: rgba(0,0,0, 128);
border: 1px inset rgba(100,100,100, 64);
border-radius: 2px;
height: 2px;
margin: 2px;
}
lmms--gui--AutomatableSlider::handle:horizontal {
background: none;
border-image: url(resources:horizontal_slider.png);
width: 10px;
height: 26px;
border-radius: 2px;
margin: -12px -2px;
}
/* about dialog */
QTabWidget, QTabWidget QWidget {
background: #5b6571;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -443,6 +443,25 @@ lmms--gui--AutomatableSlider::handle:vertical {
margin: -4px -12px -2px;
}
/* main horizontal sliders (zoom) */
lmms--gui--AutomatableSlider::groove:horizontal {
background: #040506;
border: none;
border-radius: 2px;
height: 2px;
margin: 2px;
}
lmms--gui--AutomatableSlider::handle:horizontal {
background: none;
border-image: url(resources:horizontal_slider.png);
width: 10px;
height: 26px;
border-radius: 2px;
margin: -12px -2px;
}
/* window that shows up when you add effects */
lmms--gui--EffectSelectDialog QScrollArea {