Icon positon "showMessageInDialog"

Locked
ederfreitas
Posts: 17
Joined: 03 Jan 2011, 19:05
Contact:

01 Oct 2015, 22:49

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?
Primefaces 5.2
Wildfly 8.2
JSF 2.2.8
Chrome 43.0.2357.130 m


Eder F. Freitas


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

02 Oct 2015, 08:05

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;
}

ederfreitas
Posts: 17
Joined: 03 Jan 2011, 19:05
Contact:

02 Oct 2015, 13:47

It worked perfectly Aragon.

Do you can say me something about this:

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


Thank you.
Primefaces 5.2
Wildfly 8.2
JSF 2.2.8
Chrome 43.0.2357.130 m


Eder F. Freitas


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

02 Oct 2015, 15:32

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.

ederfreitas
Posts: 17
Joined: 03 Jan 2011, 19:05
Contact:

02 Oct 2015, 15:52

Thanks!
Primefaces 5.2
Wildfly 8.2
JSF 2.2.8
Chrome 43.0.2357.130 m


Eder F. Freitas


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

02 Oct 2015, 15:59

You're welcome;) We can add this feature in 5.3.x and 5.4.

ederfreitas
Posts: 17
Joined: 03 Jan 2011, 19:05
Contact:

02 Oct 2015, 16:11

Glad to hear ;)
Primefaces 5.2
Wildfly 8.2
JSF 2.2.8
Chrome 43.0.2357.130 m


Eder F. Freitas


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

05 Oct 2015, 08:30

;)

Locked

Return to “Rio”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests