Skip to main content
1-Visitor
July 9, 2018
Solved

Mashup resolution - popup resolution

  • July 9, 2018
  • 1 reply
  • 1967 views

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

 

Best answer by Ju_01

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.

1 reply

Ju_011-VisitorAuthorAnswer
1-Visitor
August 9, 2018

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.