Adjust border
This commit is contained in:
parent
4b1f86f9d0
commit
6b0b576afd
2 changed files with 5 additions and 3 deletions
|
@ -61,7 +61,8 @@ Item {
|
||||||
radius: windowRadius
|
radius: windowRadius
|
||||||
visible: windowRadius
|
visible: windowRadius
|
||||||
border.width: 1
|
border.width: 1
|
||||||
border.color: Qt.rgba(0, 0, 0, 0.2)
|
border.color: Qt.rgba(0, 0, 0, 1)
|
||||||
|
opacity: FishUI.Theme.darkMode ? 0.3 : 0.1
|
||||||
antialiasing: true
|
antialiasing: true
|
||||||
smooth: true
|
smooth: true
|
||||||
}
|
}
|
||||||
|
@ -73,7 +74,8 @@ Item {
|
||||||
visible: windowRadius
|
visible: windowRadius
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.width: 1
|
border.width: 1
|
||||||
border.color: Qt.rgba(255, 255, 255, 0.2)
|
border.color: Qt.rgba(255, 255, 255, 1)
|
||||||
|
opacity: FishUI.Theme.darkMode ? 0.3 : 0.1
|
||||||
antialiasing: true
|
antialiasing: true
|
||||||
smooth: true
|
smooth: true
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
qmlRegisterType<DockSettings>("Cutefish.Dock", 1, 0, "DockSettings");
|
qmlRegisterType<DockSettings>("Cutefish.Dock", 1, 0, "DockSettings");
|
||||||
|
|
Loading…
Reference in a new issue