Page 1 of 1

Icon positon "showMessageInDialog"

Posted: 01 Oct 2015, 22:49
by ederfreitas
The icon postion of dialog is not aligned with label:

Image

This dialog is opened in managedBean with method:

Code: Select all

		FacesMessage message = new FacesMessage("Atenção", errorMessage);
		message.setSeverity(FacesMessage.SEVERITY_ERROR);

		RequestContext.getCurrentInstance().showMessageInDialog(message);
There is a workrounding?

Re: Icon positon "showMessageInDialog"

Posted: 02 Oct 2015, 08:05
by mert.sincan
Please try with;

Code: Select all

.ui-dialog-content .ui-messages-info-icon, 
.ui-dialog-content .ui-messages-warn-icon, 
.ui-dialog-content .ui-messages-error-icon, 
.ui-dialog-content .ui-messages-fatal-icon {
    margin-top: -5px !important;
}

Re: Icon positon "showMessageInDialog"

Posted: 02 Oct 2015, 13:47
by ederfreitas
It worked perfectly Aragon.

Do you can say me something about this:

https://github.com/primefaces/primefaces/issues/723


Thank you.

Re: Icon positon "showMessageInDialog"

Posted: 02 Oct 2015, 15:32
by mert.sincan
Glad to hear, thanks ;)
Do you can say me something about this:

https://github.com/primefaces/primefaces/issues/723
PrimeFaces 5.3 doesn't support 'responsive' feature on DF.

Re: Icon positon "showMessageInDialog"

Posted: 02 Oct 2015, 15:52
by ederfreitas
Thanks!

Re: Icon positon "showMessageInDialog"

Posted: 02 Oct 2015, 15:59
by mert.sincan
You're welcome;) We can add this feature in 5.3.x and 5.4.

Re: Icon positon "showMessageInDialog"

Posted: 02 Oct 2015, 16:11
by ederfreitas
Glad to hear ;)

Re: Icon positon "showMessageInDialog"

Posted: 05 Oct 2015, 08:30
by mert.sincan
;)