From 10ec9e2754d2596f33f855ed89b0f37aea1d9f6d Mon Sep 17 00:00:00 2001 From: Konstantinos Karmas Date: Fri, 6 Aug 2021 09:49:29 +0200 Subject: [PATCH] Remove the tooltipWidth property The `tooltipWidth` property is not available in 4.9 and 4.10. This property was added to make sure that the tooltip has a smaller width than the DigitalLibrary window, or else the tooltip doesn't get drawn at all, which is confusing. Since it was not available in 4.9 and 4.10, the tooltip text smaller had to become smaller to make sure that it will fit. CURA-8444 --- plugins/DigitalLibrary/resources/qml/SelectProjectPage.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/DigitalLibrary/resources/qml/SelectProjectPage.qml b/plugins/DigitalLibrary/resources/qml/SelectProjectPage.qml index ffa34feb45..d0c653b014 100644 --- a/plugins/DigitalLibrary/resources/qml/SelectProjectPage.qml +++ b/plugins/DigitalLibrary/resources/qml/SelectProjectPage.qml @@ -94,8 +94,7 @@ Item text: "Upgrade plan" iconSource: UM.Theme.getIcon("LinkExternal") visible: createNewProjectButtonVisible && !manager.userAccountCanCreateNewLibraryProject && (manager.retrievingProjectsStatus == DF.RetrievalStatus.Success || manager.retrievingProjectsStatus == DF.RetrievalStatus.Failed) - tooltip: "You have reached the maximum number of projects allowed by your subscription. Please upgrade to the Professional subscription to create more projects." - tooltipWidth: parent.width * 0.5 + tooltip: "Maximum number of projects reached. Please upgrade your subscription to create more projects." onClicked: Qt.openUrlExternally("https://ultimaker.com/software/ultimaker-essentials/sign-up-cura?utm_source=cura&utm_medium=software&utm_campaign=lib-max") }