Announcement

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

    Open and close icon of treenode changed size

    Hi there,

    In the latest nightly (SmartClient_v101p_2016-03-09_Pro) there was a change, that all open and clode icons of a treegrid changed the size. I don't think it should be like this.

    With SmartClient_v101p_2016-03-09_Pro
    Click image for larger version

Name:	20160310-103927.png
Views:	60
Size:	1.5 KB
ID:	235695
    With SmartClient_v101p_2016-03-03_Pro
    Click image for larger version

Name:	20160310-104042.png
Views:	50
Size:	2.2 KB
ID:	235696

    The open-icon should obviously look like SmartClient_v101p_2016-03-03_Pro and not like SmartClient_v101p_2016-03-09_Pro

    Best Regards

    #2
    Addition: Also reproducable with the latest nightly SmartClient_v101p_2016-03-10_Pro

    Comment


      #3
      This is most likely related to a recent bugfix for showConnectors mode and cellHeights larger than the default.

      With what skin are you seeing this, and is it customized from the default? In particular do you have any non-default settings for openerIconWidth / openerIconHeight?

      Comment


        #4
        Hi Isomorphic,

        I'm not the OP, but this does also affect the SmartGWT online showcase.

        Click image for larger version

Name:	OnlineShowcase.PNG
Views:	59
Size:	11.8 KB
ID:	235750

        Best regards
        Blama

        Comment


          #5
          Thanks Blama

          Isomorphic Sorry I thought, that would be a clear case:

          I'm working with the default Enterprise-skin. I didn't changed openerIconWidth or openerIconHeight or anything besides the example shown below.
          Here is a sample for reproduction:
          Click image for larger version

Name:	20160311-160121.png
Views:	70
Size:	1.1 KB
ID:	235761
          Code:
          isc.TreeGrid.create({
              "width" : 200,
              "ID" : "navigationTree",
              "height" : 200,
              "showHeader" : false,
              "fixedRecordHeights" : false,
              data : isc.Tree.create({
                  "modelType" : "children",
                  "openProperty" : "isOpen",
                  "root" : {
                      "title" : "5",
                      "isFolder" : false,
                      "isOpen" : true,
                      "isSelected" : false,
                      "children" :
                      [{
                              "title" : "5",
                              "isFolder" : true,
                              "canDrag" : false,
                              "isOpen" : true,
          
                              "icon" : "https://cdn4.iconfinder.com/data/icons/pretty_office_3/16/Star-Full.png",
                              "isSelected" : false,
                              "description" : "The description",
                              "children" :
                              [{
                                      "title" : "5",
                                      "isFolder" : false,
                                      "canDrag" : false,
                                      "isOpen" : true,
                                      "icon" : "https://cdn4.iconfinder.com/data/icons/pretty_office_3/16/Star-Full.png",
                                      "isSelected" : true,
                                      "description" : "The description"
                                  }
                              ]
                          }
                      ]
                  }
              })
          })
          Regards

          Comment


            #6
            This is fixed for tomorrow's build. Note that you can just specific openerIconSize:22 to work around this, if you aren't using showConnectors mode with a non-default cellHeight.

            Comment


              #7
              Thanks, fix confirmed for SmartClient_v101p_2016-03-14_Pro

              Comment

              Working...
              X