Height/Padding of a Label Component

To clarify some points here:

Roles:

  • Roles depend on the theme of the app you create.
  • If you create a Material design app you get material design roles
  • if you create a custom html app you get a blank slate for roles because you have a blank theme
    (It’s not that roles are not available in your custom html app - you just don’t have any to select yet)

Copying roles from one app to the next

  • it’s possible but you can’t do this natively - You’d want to check out the apps in Git and copy the theme directory from one app to the other…
    Convert Classic theme to new Material Design theme
  • Similarly - you can copy forms over to new apps with the same method - copying over the form folder into the new app

Padding on blank panel forms

  • I maintain that a text role for the label (which if you look at its css makes the padding 0)
  • And changing spacing above/below on both the BlankPanel and the Label
    In this image, the red border is around the BlankPanel and there is no padding
3 Likes