You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "jfrm.maurel@gmail.com" <jf...@gmail.com> on 2018/05/19 07:46:19 UTC
centered section label with TOBAGO 4.2.1
Hi,
I am experimenting with Tobago theme and layout.
Could you please tell me how to center the label of a tc:section or
give me some pointers?
I tried using <f:facet name="label"> with some styling but no luck for
the time being.
Regards
--
Jean-François MAUREL
PIMECA
http://www.pimeca.com
Re: centered section label with TOBAGO 4.2.1
Posted by "jfrm.maurel@gmail.com" <jf...@gmail.com>.
Hi,
Le 22/05/2018 à 11:56, Henning Nöth a écrit :
> you can try the tc:style tag.
Thank you very much.
That is what I was looking for. I think I missed the selector part.
Regards
--
Jean-François MAUREL
PIMECA
http://www.pimeca.com
Re: centered section label with TOBAGO 4.2.1
Posted by Henning Nöth <he...@irian.eu>.
Hello Jean-François,
you can try the tc:style tag.
<tc:section label="Section Title">
<tc:style selector=".tobago-section-header > *" marginLeft="auto"
marginRight="auto"/>
...
</tc:section>
Regards,
Henning
Am 19.05.18 um 09:46 schrieb jfrm.maurel@gmail.com:
>
> Hi,
>
> I am experimenting with Tobago theme and layout.
>
> Could you please tell me how to center the label of a tc:section or
> give me some pointers?
>
> I tried using <f:facet name="label"> with some styling but no luck for
> the time being.
>
> Regards
>