Fixed size of the "Legal" paper format.
--HG-- branch : develop
This commit is contained in:
parent
fe31989f79
commit
9c38e65b45
|
@ -778,8 +778,8 @@ QSizeF DialogLayoutSettings::TemplateSize(const PaperSizeTemplate &tmpl) const
|
||||||
height = UnitConvertor(11, Unit::Inch, paperUnit);
|
height = UnitConvertor(11, Unit::Inch, paperUnit);
|
||||||
return RoundTemplateSize(width, height);
|
return RoundTemplateSize(width, height);
|
||||||
case PaperSizeTemplate::Legal:
|
case PaperSizeTemplate::Legal:
|
||||||
width = UnitConvertor(11, Unit::Inch, paperUnit);
|
width = UnitConvertor(8.5, Unit::Inch, paperUnit);
|
||||||
height = UnitConvertor(17, Unit::Inch, paperUnit);
|
height = UnitConvertor(14, Unit::Inch, paperUnit);
|
||||||
return RoundTemplateSize(width, height);
|
return RoundTemplateSize(width, height);
|
||||||
case PaperSizeTemplate::Roll24in:
|
case PaperSizeTemplate::Roll24in:
|
||||||
width = UnitConvertor(24, Unit::Inch, paperUnit);
|
width = UnitConvertor(24, Unit::Inch, paperUnit);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user