Page 1 of 1

p:confirmDialog and "styling"

Posted: 19 Oct 2018, 16:58
by serenne
Hi Aragorn,
new question with p:confirmDialog. My confirm messages are sometimes "dynamic". For example : Sure do delete : blablabla where blablabla is a dynamic information coming from the database.

Works fine (it displays completelety) but the dialog width doesn't let any space after the end of the text : Sure to delete xxxx|

I tried different things without any success...
Is there any way to get some space after the of the text and the right border of the dialog ?

Kindest regards

Re: p:confirmDialog and "styling"

Posted: 22 Oct 2018, 13:42
by mert.sincan
I couldn't replicate it. But, maybe you can add padding-right to dialog-content;
Exp;

Code: Select all

body.layout-compact .ui-confirm-dialog.ui-dialog .ui-dialog-content {
   padding-right: ...px
}

Re: p:confirmDialog and "styling"

Posted: 12 Nov 2018, 06:44
by serenne
After navigating through my application pages I can notice that it's most often OK (I have the space after my text). This happens only on some confirm dialog.
As this has a very low impact (only visual), I will try to find the reason later...

Re: p:confirmDialog and "styling"

Posted: 13 Nov 2018, 15:48
by mert.sincan
Thanks a lot for the update!