ng2-dynamic-dialog icon indicating copy to clipboard operation
ng2-dynamic-dialog copied to clipboard

Dynamically resize based on the size of the host window

Open shengliang-tham opened this issue 7 years ago • 0 comments

Hi, i am trying to trigger dialog with my own custom component which when a button is pressed, it will pop up a dialog for payment. Basically the problem i am encountering is that it does not automatically resize the dialog based on the height and width of my components when i did not specify the dialogContent.height and dialogContent.width. image

The only way i can resize it is through using

dialogContent.height = 800;
dialogContent.width = 800;

which will gives me this image

Any idea how can i automatically resize the custom components ?

shengliang-tham avatar Jun 21 '17 01:06 shengliang-tham