diff --git a/examples/QQPlayer-demo/resources/qml/CloseButton.qml b/examples/QQPlayer-demo/resources/qml/CloseButton.qml index ef308c8..65ebc04 100644 --- a/examples/QQPlayer-demo/resources/qml/CloseButton.qml +++ b/examples/QQPlayer-demo/resources/qml/CloseButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 45 - height: 30 + implicitWidth: 45 + implicitHeight: 30 ToolTip.visible: hovered && !down ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval diff --git a/examples/QQPlayer-demo/resources/qml/MainMenuButton.qml b/examples/QQPlayer-demo/resources/qml/MainMenuButton.qml index 54ead56..a76358e 100644 --- a/examples/QQPlayer-demo/resources/qml/MainMenuButton.qml +++ b/examples/QQPlayer-demo/resources/qml/MainMenuButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 75 - height: 15 + implicitWidth: 75 + implicitHeight: 15 contentItem: Image { anchors.fill: parent diff --git a/examples/QQPlayer-demo/resources/qml/MaximizeButton.qml b/examples/QQPlayer-demo/resources/qml/MaximizeButton.qml index 3e816c7..73aad03 100644 --- a/examples/QQPlayer-demo/resources/qml/MaximizeButton.qml +++ b/examples/QQPlayer-demo/resources/qml/MaximizeButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 45 - height: 30 + implicitWidth: 45 + implicitHeight: 30 property bool maximized: false diff --git a/examples/QQPlayer-demo/resources/qml/MinimizeButton.qml b/examples/QQPlayer-demo/resources/qml/MinimizeButton.qml index 65df3d0..9a5daf5 100644 --- a/examples/QQPlayer-demo/resources/qml/MinimizeButton.qml +++ b/examples/QQPlayer-demo/resources/qml/MinimizeButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 45 - height: 30 + implicitWidth: 45 + implicitHeight: 30 ToolTip.visible: hovered && !down ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval diff --git a/examples/QQPlayer-demo/resources/qml/NextButton.qml b/examples/QQPlayer-demo/resources/qml/NextButton.qml index c7a8091..4e9c4a9 100644 --- a/examples/QQPlayer-demo/resources/qml/NextButton.qml +++ b/examples/QQPlayer-demo/resources/qml/NextButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 16 - height: 14 + implicitWidth: 16 + implicitHeight: 14 contentItem: Image { anchors.fill: parent diff --git a/examples/QQPlayer-demo/resources/qml/OpenFileButton.qml b/examples/QQPlayer-demo/resources/qml/OpenFileButton.qml index e60d36d..bc44656 100644 --- a/examples/QQPlayer-demo/resources/qml/OpenFileButton.qml +++ b/examples/QQPlayer-demo/resources/qml/OpenFileButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 187 - height: 50 + implicitWidth: 187 + implicitHeight: 50 contentItem: Image { anchors.fill: parent diff --git a/examples/QQPlayer-demo/resources/qml/PlayButton.qml b/examples/QQPlayer-demo/resources/qml/PlayButton.qml index 6ed92db..c05d776 100644 --- a/examples/QQPlayer-demo/resources/qml/PlayButton.qml +++ b/examples/QQPlayer-demo/resources/qml/PlayButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 45 - height: 45 + implicitWidth: 45 + implicitHeight: 45 contentItem: Image { anchors.fill: parent diff --git a/examples/QQPlayer-demo/resources/qml/PreviousButton.qml b/examples/QQPlayer-demo/resources/qml/PreviousButton.qml index cb26dd7..d6d92df 100644 --- a/examples/QQPlayer-demo/resources/qml/PreviousButton.qml +++ b/examples/QQPlayer-demo/resources/qml/PreviousButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 16 - height: 14 + implicitWidth: 16 + implicitHeight: 14 contentItem: Image { anchors.fill: parent diff --git a/examples/QQPlayer-demo/resources/qml/StopButton.qml b/examples/QQPlayer-demo/resources/qml/StopButton.qml index 564483d..2737310 100644 --- a/examples/QQPlayer-demo/resources/qml/StopButton.qml +++ b/examples/QQPlayer-demo/resources/qml/StopButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 14 - height: 14 + implicitWidth: 14 + implicitHeight: 14 contentItem: Image { anchors.fill: parent diff --git a/examples/QQPlayer-demo/resources/qml/VolumeButton.qml b/examples/QQPlayer-demo/resources/qml/VolumeButton.qml index 626fbf1..b68bba7 100644 --- a/examples/QQPlayer-demo/resources/qml/VolumeButton.qml +++ b/examples/QQPlayer-demo/resources/qml/VolumeButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 18 - height: 14 + implicitWidth: 18 + implicitHeight: 14 contentItem: Image { anchors.fill: parent diff --git a/resources/qml/CloseButton.qml b/resources/qml/CloseButton.qml index 2983632..0ead30e 100644 --- a/resources/qml/CloseButton.qml +++ b/resources/qml/CloseButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 45 - height: 30 + implicitWidth: 45 + implicitHeight: 30 ToolTip.visible: hovered && !down ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval diff --git a/resources/qml/MaximizeButton.qml b/resources/qml/MaximizeButton.qml index 820f98b..08a4b70 100644 --- a/resources/qml/MaximizeButton.qml +++ b/resources/qml/MaximizeButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 45 - height: 30 + implicitWidth: 45 + implicitHeight: 30 property bool maximized: false diff --git a/resources/qml/MinimizeButton.qml b/resources/qml/MinimizeButton.qml index 0700856..6c9c983 100644 --- a/resources/qml/MinimizeButton.qml +++ b/resources/qml/MinimizeButton.qml @@ -4,8 +4,8 @@ import QtQuick.Controls 2.15 Button { id: button - width: 45 - height: 30 + implicitWidth: 45 + implicitHeight: 30 ToolTip.visible: hovered && !down ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval