cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How do you keep a label , or anything that requires a panel as a background centered in a responsive container?

michaele
1-Newbie

How do you keep a label , or anything that requires a panel as a background centered in a responsive container?

While editing a mashup it is easy to center things like labels and LED, and Text boxes within a responsive container/layout,  however when you view the mashup the items/texts do not remain centered, but rather remain fixed, and basically will only be centered if the runtime viewing of your mashup is the exact same size as your editing window.   How do I get such things to stay centered within their containers no matter what the resultant runtime size of the mashup is?

1 REPLY 1
Aanjan
9-Granite
(To:michaele)

Michael, when using Responsive Mashups, at the Mashup Builder stage, you can change the 'Preview from Available Space to the given list of resolutions. With that, you'd pretty much know how it will look at Runtime. The problem with this goes back to your question, it will change based on different resolutions as the height and width changes significantly. An alternate way is to use a Static Mashup, so that the widget positions remain locked in.

Top Tags