Scribus Forums

Development => Code => Topic started by: a.l.e on April 25, 2024, 09:02:17 AM

Title: page's initial width and width
Post by: a.l.e on April 25, 2024, 09:02:17 AM
in ScPage (https://gitlab.com/scribus/scribus/-/blob/master/scribus/scpage.cpp?ref_type=heads) there are both an initialWidth (https://gitlab.com/scribus/scribus/-/blob/master/scribus/scpage.cpp?ref_type=heads#L505) and a width (https://gitlab.com/scribus/scribus/-/blob/master/scribus/scpage.cpp?ref_type=heads#L495).

there are initial values for the the width, the height and the margins, but nowhere an explanation of their meaning.

when resizing a page (https://gitlab.com/scribus/scribus/-/blob/master/scribus/scribus.cpp?ref_type=heads#L6176), scribus seems to use twice the same value...

can somebody explain to me what is the difference and then add some documentation to the code?