How to adjust dialog Height According to his content

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
leozkr
Posts: 11
Joined: 27 Jan 2017, 19:51

29 Sep 2017, 00:12

Hi everyone

I'm opening a dialog from backing bean
this dialog shows up another .xhtml.
in the backing bean i'm setting the height as bellow

Code: Select all

		options.put("modal", false);
		options.put("position", "top"); 
		options.put("draggable", true); 
		options.put("resizable", true); 
		options.put("height","80vh");
		options.put("contentHeight","100%");
		options.put("width","80%");
		options.put("contentWidth","100%");
		
is that possible to set the height according to the content?

Best Regards

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

02 Oct 2017, 09:21

It is not a Layout or theme issue. Please use core forum. Also, I think you need to write custom js codes for it.

Post Reply

Return to “Barcelona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests