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

Center align static mashup within a mashup container

SOLVED
Highlighted
Level 8

Center align static mashup within a mashup container

I am trying to create a search window (text input + button) that is centered on the screen (e.g. google.com) in Thingworx 8.3.

 

The issue is that in order to use the button and text input widgets, I need to use a static mashup which by definition will not be able to center objects relative to the user´s screen.

 

One approach that could work would be to place the static mashup inside a mashup container. By default the mashup then ends up in the top left corner of the screen. Is there anyone out there who would have an idea of how to make the mashup appear in the center of the screen - for example by binding CSS to the container widget? Or is there a better way of achieving what I want?

 

Many thanks

Erik

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Center align static mashup within a mashup container

If you create a Responsive Mashup, add a panel to it, and then add another Inner Panel to this Panel you can set it as HorizontalAnchor = Center and VerticalAnchor = Center, and here you have it (of course add the widgets on the inner panel ).

2 REPLIES 2

Re: Center align static mashup within a mashup container

If you create a Responsive Mashup, add a panel to it, and then add another Inner Panel to this Panel you can set it as HorizontalAnchor = Center and VerticalAnchor = Center, and here you have it (of course add the widgets on the inner panel ).

Re: Center align static mashup within a mashup container

Many thanks Carles - that was a nice "hidden" feature. Cheers  Erik