print: Fix height entry having wrong upper limit

Fixes #294
This commit is contained in:
Sophie Herold 2023-12-30 22:26:38 +01:00
parent 19079dd918
commit de0446bc32

View file

@ -722,7 +722,7 @@ impl LpPrint {
let size_unit = self.size_unit();
let max_width = self.fill_space_width();
let max_height = self.paper_height() - 2. * self.user_margin_vertical();
let max_height = self.fill_space_height();
imp.width.set_range(
size_unit.ceil(self.width_unit_factor()),