Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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
Solved! Go to Solution.
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.
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.