The title component forces top-margin and bottom-margin by default, not sure why, but it is also difficult/impossible to override as it uses !important
Default:
[[rc/title
:level :level2
:label "My Title"]
If I use :parts :wrapper to set top bottom margin, it is ignored.
If I use :style {:margin-bottom "0px" :margin-top "0px"} only the top takes.
I find 9/10 I give up on using title because the defaults don't suit the container and the overrides are as much effort as using normal rc/label and restyle with larger font etc.
The title component forces
top-margin
andbottom-margin
by default, not sure why, but it is also difficult/impossible to override as it uses!important
Default:
If I use
:parts
:wrapper to set top bottom margin, it is ignored. If I use:style {:margin-bottom "0px" :margin-top "0px"}
only the top takes.I find 9/10 I give up on using
title
because the defaults don't suit the container and the overrides are as much effort as using normal rc/label and restyle with larger font etc.