I'm having problem with the dialog box
Could the width attribute be a string so that I can use "auto", "50%" etc rather than having to specify the width in pixels?
Thoughts ?
Why is width an int ?
Yes, that is a strange thing. The other strange thing AFAIK - it's applied to inner div and not outer. Try CSS. I mostly use CSS rather than width / height attributes.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
I agree, css is the best way forward, but I can't see how I can accomplish this.
If I add an outer div with a class that has width auto this is overridden as the component (im using a dialog) adds a default width (in pixels) if this is not specified in the markup
Has anyone any ideas how I could do this?
Thanks
Craig
If I add an outer div with a class that has width auto this is overridden as the component (im using a dialog) adds a default width (in pixels) if this is not specified in the markup
Has anyone any ideas how I could do this?
Thanks
Craig
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 27 guests