Background Color:
 
Background Pattern:
Reset
Search

Forum

Please Log In

We want you to contribute! 

This forum is a moderated environment. 
We try to keep it neat and tidy. In order to access the forum content we would like you to either or register.

HomeHomeScryberScryberDevelopment Que...Development Que...Labels within Div from top to bottomLabels within Div from top to bottom
Previous
 
Next
New Post
8/10/2016 4:00 PM
 

We want to show 2 labels from top to bottom within a div:

<pdf:Div style:width="55mm" style:position-mode="Block">
            <pdf:Label style:width="55mm" id="foo" text="Oh me lads" />
            <pdf:Label style:width="55mm" id="bar" text="you should have seen us gannin" />
</pdf:Div>

That's why we tried to set the widths to 55 milimetres so the 2nd label will be forced to be shown below the 1st one.

We tried set the position-modes to block, but it didn't work.

Is there any way how to achieve this?

 
New Post
8/11/2016 10:29 AM
 

Hey Dougy

You can just add a line break <pdf:Br/> between the two, or wrap them both in Div's

The position-mode style will be on the components themselves rather than the components within the container.

R

 
New Post
8/11/2016 2:21 PM
 

Thank you, we just tried DIVs and it worked.

 
Previous
 
Next
HomeHomeScryberScryberDevelopment Que...Development Que...Labels within Div from top to bottomLabels within Div from top to bottom