Question around Bootstrap Label

Hey there,

When looking at the Bootstrap/Label sample, I saw that if setting properties of Label5 as follow:

  • borderRadius: 5px
  • padding-bottom: 5px
  • padding-left: 10px
  • padding-right: 10px
  • padding-top: 5px

, it get coded like this:

<span id="Label5" style="font-family:inherit;padding-top:5px; padding-left:10px; padding-bottom:5px; padding-right:10px; padding-left:4px;padding-right:4px;border-radius:5pxpx;" class="badge-info collapse show" data-i18n="Badge Label - Info - rounded">Badge Label - Info - rounded</span>

padding-right and padding-left get double inserted and for borderRadius it gets pxpx.

Of course I can overwrite all these using code on Main() function, but I’d rather have the IDE to produce the right HTML code.

BR
Ricardo

borderRadius is just an integer - no “px” should be added. The docs: “How much should corners be rounded? 0 is not at all, 4 is a 4 pixel radius.”

You’re right about the extra padding statements being inserted. This is fixed in the next build. Thanks for spotting this!