Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Label icon prompt

    We've noticed that there isn't an icon prompt property listed in the library for Labels (thought there is one for statictextitem). Is this not supported for label canvases? Or did I overlook something? Thanks.

    #2
    Another question about labels: With static text items, we are able to set the property below so that we could directly insert a font-style without needing a css style name but I cannot figure out how to do it for labels (if there is a way). Currently in our product, only static text item is available for use but when a gridlayout within a vlayout only contains a static text, then the grid layout is pointless. We want to eliminate the grid layout layer when possible, but cannot do this if we can't provide similar functionality for "font style properties".

    Code:
      isc.StaticTextItem.addProperties({
      getTextBoxStyle: function (){
        var style="";
    if(this.$cwBaseStyle!=null)
      return this.$cwBaseStyle;
      if(this.styleName!=null){
      style+=this.styleName+"'";
      }else{
      style = "staticTextItem' STYLE='";
      if (this.fontProperties != null) {
      style+=this.fontProperties;
      }
      }
      return style;
      }

    Comment


      #3
      Right, neither property exists, both are pretty easy to add. Your team is in the middle of arranging some consulting work with us, you could ask that these small enhancements get added as part of that work.

      Comment

      Working...
      X