View Single Post
Old 01-25-2025, 10:05 AM   #39
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,858
Karma: 6120478
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Vanguard3000 View Post
It used to allow a few lines with the old setup. It'd be nice at at least get three lines, so I could potentially see the two paragraphs and the line of whitespace in between, but chalk that up to a wishlist item for me. Aside from that, everything is functionally good; the new "uncheck to ignore" system will take a bit of getting used to for me, but I think it's an improvement overall.
It turned out to be a simple one line fix:
Code:
diff --git a/src/Dialogs/ReplacementChooser.cpp b/src/Dialogs/ReplacementChooser.cpp
index 555a33b95..9644a78b4 100644
--- a/src/Dialogs/ReplacementChooser.cpp
+++ b/src/Dialogs/ReplacementChooser.cpp
@@ -1,6 +1,6 @@
 /************************************************************************
 **
-**  Copyright (C) 2022-2024 Kevin B. Hendricks, Stratford, Ontario
+**  Copyright (C) 2022-2025 Kevin B. Hendricks, Stratford, Ontario
 **
 **  This file is part of Sigil.
 **
@@ -230,6 +230,7 @@ void ReplacementChooser::CreateTable()
     for (int i = 0; i < ui.chooserTable->horizontalHeader()->count(); i++) {
         ui.chooserTable->resizeColumnToContents(i);
     }
+    ui.chooserTable->resizeRowsToContents();
     ui.chooserTable->setSelectionBehavior(QAbstractItemView::SelectRows);
 }
This fix has been pushed to master and will appear in our next release.
KevinH is offline   Reply With Quote