Patch level : 12.00 nopatch

Files correlati     :
Commento            :
Agiiunte righe verticali ad altezza automatica
Aggiunto indirizza della ditta corrente
L'esportazione in excel delle descrizioni lunghe le troncava alla prima riga
This commit is contained in:
Alessandro Bonazzi 2023-04-13 01:08:03 +02:00
parent f70ec66343
commit 9ddfc14486

View File

@ -148,10 +148,12 @@ void advanced_draw_paragraph(WINDOW win, const TString_array& para, const RCT& r
} }
int ybase = rct.top; int ybase = rct.top;
switch (valign) switch (valign)
{ {
case 'C': ybase += (rct_height - (needed_rows * ky10) / 10) / 2; break; case 'T': ybase += ky10 / 33; break;
case 'B': ybase += rct_height - (needed_rows * ky10) / 10; break; case 'C': ybase += (rct_height - (needed_rows * ky10) / 10) / 2; break;
case 'B': ybase += rct_height - (needed_rows * ky10) / 10 - ky10 / 33; break;
default : break; default : break;
} }