Formlayout Label align right
Posted: 06 Sep 2021, 07:56
Hello Primefaces Community,
I am using Rain and have the requirement to right-align the text of my labels.
So as shown in the demo page of the formlayout (https://primefaces.org/rain/formlayout.xhtml) I want that the labels in the Horizonatal example are right-aligned.
I know that I can use panelGrid (which renders html tables) to get right-aligned label text, but is panelGrid recommended to achieve this?
Regards, Rainer
I am using Rain and have the requirement to right-align the text of my labels.
So as shown in the demo page of the formlayout (https://primefaces.org/rain/formlayout.xhtml) I want that the labels in the Horizonatal example are right-aligned.
I know that I can use panelGrid (which renders html tables) to get right-aligned label text, but is panelGrid recommended to achieve this?
Regards, Rainer