Page 1 of 1

custom width for popup

Posted: Thu Mar 13, 2014 6:25 pm
by araskin3i

Hi,

I have a popup screen which does not display correctly and I would like it to be wider. I have set the width value in the properties but this seems to be ignored. Is there a setting somewhere else to make the popup wider?


custom width for popup

Posted: Thu Mar 13, 2014 6:58 pm
by Nikita

Hello,

You can add custom CSS. For example:

[role=dialog]{
width:100px;
}


custom width for popup

Posted: Fri Mar 14, 2014 12:12 pm
by araskin3i

Hi Nikita,
Thanks. But my question is why is the popup ignoring the width that I have set in the properties?


custom width for popup

Posted: Fri Mar 14, 2014 2:14 pm
by Maryna Brodina

Hello!

Could you clarify what do you mean on "that I have set in the properties". How did you set it? Most likely you specified property for incorrect component.


custom width for popup

Posted: Fri Mar 14, 2014 2:16 pm
by araskin3i

I have set the width/height on the screen element.

See attached image:
Image


custom width for popup

Posted: Fri Mar 14, 2014 3:46 pm
by Nikita

Hello,

Yes. It doesn't affect on popup. You've just set size for popup to make easy its developing. But you can't set the popup size (how it would be at opening) at this way.


custom width for popup

Posted: Wed Sep 09, 2015 4:39 am
by Vikram Raju

Then how could we change the width?????


custom width for popup

Posted: Wed Sep 09, 2015 7:13 am
by Evgene Karachevtsev

Hello Vikram,

You can do this with CSS, please find an example above.


custom width for popup

Posted: Mon Jan 08, 2018 5:17 am
by Deon

Hi

I have added this to css
[role=dialog]{
width:95%;
}

It has made no difference to my popup width at all.
And What is the point of the Dimensions in the properties window if it has no effect?


custom width for popup

Posted: Mon Jan 08, 2018 7:49 pm
by Evgene Karachevtsev

Hello Deon,

Could you please try adding 'weight' to this rule, for example, by !important?