mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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 <neolit123@gmail.com>
This commit is contained in:
parent
89ba9b113d
commit
d0dfec929f
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue