Jump to content

Data Tag with resizing background


Recommended Posts

I am trying to add an object as background to a data tag that resizes automaticly to the bounding box of the entered data.

Any advice how to apply a rectangle that will resize automatically?

 

This ist how my data tag looks like...

Bildschirmfoto2023-10-03um12_23_37.png.8395c71e93cac36365437d9510d62af7.png

 

And this is how i want to look like...

Bildschirmfoto2023-10-03um12_24_16.png.b59b9b08c5ce92b20dd5ec1139ce2bfb.png

Link to comment

Hi Tom, that is what i already tried in several combinations, but after exiting the tag layout the rectangle isn´t shown...

no matter what combinations i activate in the oip - the rectangle is never shown.

but when i activate a data tag in the drawing there seems to something inside (left side)...

 

Bildschirmfoto2023-10-03um15_16_18.png.5d0273d19906b0e51d7c723f1fe5b0d9.png

 

screenshot of one of my attempts...

Bildschirmfoto2023-10-03um15_13_14.thumb.png.e0de36d0791aa752853a7071edfea6a4.png

 

Link to comment

Cool!

 

The other thing to bear in mind is that at the moment, the size of your rectangle is dictated by the 'Deckenbezeichnung' placeholder text which is fine as long as the data is always the same or greater number of characters. If none of the data has that many characters you'll end up with a bigger rectangle than you want. It's often better to keep the placeholder text truncated + for it all to be a similar length, then you can ensure your data is always dictating the size of the geometry. In your case it may never be an issue but worth being aware of!

  • Like 3
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...