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

Mashup resolution - popup resolution

SOLVED
Ju
Regular Member

Mashup resolution - popup resolution

Hello,

 

I have a navigation widget on my mashup (responsive) which open a modal popup.

My problem is that depending on the resolution of the screen, the size of the popup is more or less correct.

(For example, on 27' screen with big resolution, the popup is too small.)

 

I see we can bind the popup size on the navigation wigdet (FixedPopupWidth and FixedPopupHeight).

Is it possible to get main mashup size so that I can set via a service the popup size to 75% (for example) of the main mashup ?

 

Thanks.

Best regards

 

Julien

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Ju
Regular Member
(in response to Ju)

Re: Mashup resolution - popup resolution

I have find a solution with the expression widget.

One expression widget with "Expression" = screen.width, the Output give me the width.

One expression widget with "Expression" = screen.height, the Output give me the height.

(We can also use screen.availWidth and screen.availHeight for more precision).

 

Hope it can help.

View solution in original post

1 REPLY 1
Highlighted
Ju
Regular Member
(in response to Ju)

Re: Mashup resolution - popup resolution

I have find a solution with the expression widget.

One expression widget with "Expression" = screen.width, the Output give me the width.

One expression widget with "Expression" = screen.height, the Output give me the height.

(We can also use screen.availWidth and screen.availHeight for more precision).

 

Hope it can help.

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________