mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-05 01:04:07 -04:00
aspectRatio
This commit is contained in:
parent
634386b8a4
commit
5994ff5cf7
4 changed files with 76 additions and 40 deletions
|
@ -36,7 +36,7 @@ QRectF BarcodeItem::boundingRect() const
|
|||
|
||||
void BarcodeItem::paint(QPainter * painter, const QStyleOptionGraphicsItem * /*option*/, QWidget * /*widget*/)
|
||||
{
|
||||
bc.render(*painter,boundingRect(),Zint::QZint::IgnoreAspectRatio);
|
||||
bc.render(*painter,boundingRect(),ar);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue