From d0dfec929fc7f2f43bd116c881b995779d7a9a17 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 30 Nov 2013 15:50:47 +0200 Subject: Print: give more space for the depth and duration column There is not enough space for the last column in "6 print" even for the english text. This gives more space extending the row, but for some languages it will be an issue, thus strings have to be eventually shortened by the translators. Signed-off-by: Lubomir I. Ivanov --- qt-ui/printlayout.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index a0533b71d..b24248d64 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -39,9 +39,9 @@ PrintLayout::PrintLayout(PrintDialog *dialogPtr, QPrinter *printerPtr, struct op const int dw = 20; // base percentage profilePrintColumnWidths.append(dw); profilePrintColumnWidths.append(dw); - profilePrintColumnWidths.append(dw); - profilePrintColumnWidths.append(dw); - profilePrintColumnWidths.append(dw); // fit to 100% + profilePrintColumnWidths.append(dw - 3); + profilePrintColumnWidths.append(dw - 3); + profilePrintColumnWidths.append(dw + 6); // fit to 100% const int sr = 10; // smallest row height in pixels profilePrintRowHeights.append(sr + 2); profilePrintRowHeights.append(sr + 5); -- cgit v1.2.3-70-g09d2