Minor tweaks

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2020-05-21 20:00:36 +08:00
parent a0d354a8f9
commit 5813191191
13 changed files with 26 additions and 26 deletions

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 45 implicitWidth: 45
height: 30 implicitHeight: 30
ToolTip.visible: hovered && !down ToolTip.visible: hovered && !down
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 75 implicitWidth: 75
height: 15 implicitHeight: 15
contentItem: Image { contentItem: Image {
anchors.fill: parent anchors.fill: parent

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 45 implicitWidth: 45
height: 30 implicitHeight: 30
property bool maximized: false property bool maximized: false

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 45 implicitWidth: 45
height: 30 implicitHeight: 30
ToolTip.visible: hovered && !down ToolTip.visible: hovered && !down
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 16 implicitWidth: 16
height: 14 implicitHeight: 14
contentItem: Image { contentItem: Image {
anchors.fill: parent anchors.fill: parent

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 187 implicitWidth: 187
height: 50 implicitHeight: 50
contentItem: Image { contentItem: Image {
anchors.fill: parent anchors.fill: parent

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 45 implicitWidth: 45
height: 45 implicitHeight: 45
contentItem: Image { contentItem: Image {
anchors.fill: parent anchors.fill: parent

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 16 implicitWidth: 16
height: 14 implicitHeight: 14
contentItem: Image { contentItem: Image {
anchors.fill: parent anchors.fill: parent

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 14 implicitWidth: 14
height: 14 implicitHeight: 14
contentItem: Image { contentItem: Image {
anchors.fill: parent anchors.fill: parent

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 18 implicitWidth: 18
height: 14 implicitHeight: 14
contentItem: Image { contentItem: Image {
anchors.fill: parent anchors.fill: parent

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 45 implicitWidth: 45
height: 30 implicitHeight: 30
ToolTip.visible: hovered && !down ToolTip.visible: hovered && !down
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 45 implicitWidth: 45
height: 30 implicitHeight: 30
property bool maximized: false property bool maximized: false

View File

@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
Button { Button {
id: button id: button
width: 45 implicitWidth: 45
height: 30 implicitHeight: 30
ToolTip.visible: hovered && !down ToolTip.visible: hovered && !down
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval