From 7bc109d1f0842ebfe9a0a8db931ad595f1ecfa0b Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 28 Jan 2022 10:57:00 +0100 Subject: [PATCH] Remove outdated comment It's no longer limiting the width to be at least 10 pixels, due to how it has to scale with the width of the table. Contributes to issue CURA-8686. --- plugins/DigitalLibrary/resources/qml/Table.qml | 2 +- resources/qml/TableView.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/DigitalLibrary/resources/qml/Table.qml b/plugins/DigitalLibrary/resources/qml/Table.qml index 3cde4e4e1c..2e4c89dfa1 100644 --- a/plugins/DigitalLibrary/resources/qml/Table.qml +++ b/plugins/DigitalLibrary/resources/qml/Table.qml @@ -79,7 +79,7 @@ Item { if(drag.active) { - let new_width = parent.parent.width + mouseX; //Don't go smaller than 10 pixels, to make sure you can still scale it back. + let new_width = parent.parent.width + mouseX; let sum_widths = mouseX; for(let i = 0; i < headerBar.children.length; ++i) { diff --git a/resources/qml/TableView.qml b/resources/qml/TableView.qml index 6499a4f668..cd787a6fd6 100644 --- a/resources/qml/TableView.qml +++ b/resources/qml/TableView.qml @@ -80,7 +80,7 @@ Item { if(drag.active) { - let new_width = parent.parent.width + mouseX; //Don't go smaller than 10 pixels, to make sure you can still scale it back. + let new_width = parent.parent.width + mouseX; let sum_widths = mouseX; for(let i = 0; i < headerBar.children.length; ++i) {