From bc8d0039162ffbfaba7bcb6d796a99e4083e15de Mon Sep 17 00:00:00 2001 From: rekols Date: Sat, 5 Jun 2021 17:43:46 +0800 Subject: [PATCH] ShutdownUI: adjust padding --- shutdown-ui/IconButton.qml | 19 +++++++++++++++++++ shutdown-ui/main.qml | 24 ++++++++++++++++++++++-- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/shutdown-ui/IconButton.qml b/shutdown-ui/IconButton.qml index 87fb94a..c8d6162 100644 --- a/shutdown-ui/IconButton.qml +++ b/shutdown-ui/IconButton.qml @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2021 CutefishOS Team. + * + * Author: Reion Wong + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + import QtQuick 2.0 import QtQuick.Controls 2.5 import QtQuick.Layouts 1.3 diff --git a/shutdown-ui/main.qml b/shutdown-ui/main.qml index c774c9e..084bd8a 100644 --- a/shutdown-ui/main.qml +++ b/shutdown-ui/main.qml @@ -1,9 +1,29 @@ +/* + * Copyright (C) 2021 CutefishOS Team. + * + * Author: Reion Wong + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + import QtQuick 2.12 import QtQuick.Window 2.3 import QtQuick.Controls 2.5 import QtQuick.Layouts 1.3 -ApplicationWindow { +ApplicationWindow +{ width: Screen.width height: Screen.height visible: true @@ -35,7 +55,7 @@ ApplicationWindow { RowLayout { id: layout anchors.fill: parent - spacing: root.width * 0.1 + spacing: root.width * 0.05 Item { Layout.fillWidth: true