- fix: Scroll bar arrow size not correct in the dark themes.
This commit is contained in:
parent
153e5edc6a
commit
b3247dd2e8
1
NEWS.md
1
NEWS.md
|
@ -1,6 +1,7 @@
|
||||||
Red Panda C++ Version 3.2
|
Red Panda C++ Version 3.2
|
||||||
|
|
||||||
- Change: The way to calcuate astyle path.
|
- Change: The way to calcuate astyle path.
|
||||||
|
- fix: Scroll bar arrow size not correct in the dark themes.
|
||||||
|
|
||||||
Red Panda C++ Version 3.1
|
Red Panda C++ Version 3.1
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ static qreal calcDpi() {
|
||||||
}
|
}
|
||||||
|
|
||||||
static qreal calcDpiScaled(qreal value, qreal dpi) {
|
static qreal calcDpiScaled(qreal value, qreal dpi) {
|
||||||
return value*96/dpi;
|
return value*dpi/96;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue