anchor of visible object onto non-visible field

Issues related to label design (working with databases, data processing, RFID encoding etc.) and printing (from NiceLabel Express, NiceLabel Pro, NiceForm and NicePrint)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
PSCNL
Newcomer
Posts: 2
Joined: Wed Aug 01, 2018 10:35 pm

anchor of visible object onto non-visible field

Post by PSCNL » Wed Aug 01, 2018 10:46 pm

Hello,
I have a textfield anchored to the bottom of the label and its visibility is conditional.
I also have a QR barcode that is achored to the top of that textfield.
When the textfield is visible the QR code is neatly positioned on top of the texfield.
When the textfield is not-visible (due to the met condition) the QR code is positioned at the same spot as in it's design and *not* as expected to the bottom of the label.
How can I change that behaviour so the QR is placed on the bottom line when the textfield is hidden?
Thanks,
Kirst

User avatar
Saso
NiceLabel
NiceLabel
Posts: 2937
Joined: Mon Sep 04, 2006 8:09 am
Contact:

Re: anchor of visible object onto non-visible field

Post by Saso » Thu Aug 02, 2018 10:16 am

The trouble with your setup is that the textfield is still there, just not visible. NiceLabel in this case still aligns the QR code to that object.
Is this a bug? Or a feature? ;-)

If your textfield would have no content, the QR code will align to the bottom of the label. When the object is linked with a second object, but the second object is not there (it doesn't have any content, not that it is hidden), the first object will be positioned to the space, where the second object would be displayed. In your case, the second object is there, just not visible.

In this case, the workaround would be to empty the variable that provides value to textfield. With no value, the object would not "be there". When you are defining the condition for visibility, you should also empty the variable.
Saso Fleiser
Senior Technical Product Specialist

PSCNL
Newcomer
Posts: 2
Joined: Wed Aug 01, 2018 10:35 pm

Re: anchor of visible object onto non-visible field

Post by PSCNL » Sat Aug 04, 2018 12:09 pm

Thank you very much. I will try this when back from holidays.

Post Reply