Dialog with scroll plus center

UI Components for Angular
Post Reply
Mehak
Posts: 10
Joined: 02 May 2016, 01:25

16 May 2016, 01:10

Iam facing serious problem I want dialog at Center with scroll and height 80% and width 80% of screen.

Please help me I am in trouble.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

16 May 2016, 12:52

I think at afterViewInit, you need to calculate the window width, height get the 80% of them and bind it do the width-height properties to the p-dialog.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests