Skip to content

Commit

Permalink
fix #1548 long Stabilize results filename
Browse files Browse the repository at this point in the history
...makes the UI too wide and harder to use.
  • Loading branch information
ddennedy committed Jun 27, 2024
1 parent b2785fa commit c30870e
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/qml/filters/stabilize/ui.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2023 Meltytech, LLC
* Copyright (c) 2013-2024 Meltytech, LLC
*
* 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
Expand Down Expand Up @@ -33,13 +33,13 @@ Item {
function setStatus(inProgress) {
if (inProgress) {
status.text = qsTr('Analyzing...');
results.text = "--";
results.setText("--");
} else if (hasAnalysisCompleted()) {
status.text = qsTr('Analysis complete.');
results.text = filter.get("results");
results.setText(filter.get("results"));
} else {
status.text = _analysisRequiredMessage;
results.text = "--";
results.setText("--");
}
}

Expand Down Expand Up @@ -256,7 +256,16 @@ Item {
Label {
id: results

function setText(path) {
text = path.substring(path.lastIndexOf('/') + 1);
resultsTip.text = path
}

Layout.columnSpan: 2

Shotcut.HoverTip {
id: resultsTip
}
}

Item {
Expand Down

0 comments on commit c30870e

Please sign in to comment.