Announcement

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

    #16
    Hi Isomorphic,

    We noticed that after updating for this fix, members within toolstrips are no longer properly middle aligned on the vertical axis, particularly when setting the toolstrip height explicitly to say 50.

    Did something change here?

    Thanks

    SmartClient Version: v12.1p_2021-12-02/Pro Deployment (built 2021-12-02)

    Comment


      #17
      Can you show us how to reproduce the toolstrip alignment issue?

      Thanks

      Comment


        #18
        Hi Isomorphic,

        Here you go.


        Code:
        VLayout main = new VLayout();
                main.setWidth100();
                main.setHeight100();
                ToolStrip toolStrip = new ToolStrip();
                toolStrip.setWidth100();
                toolStrip.setHeight(50);
                toolStrip.addSpacer(5);
                Img logo = new Img("logo.png");
                logo.setAutoWidth();
                logo.setImageType(ImageStyle.CENTER);
                logo.setCursor(Cursor.HAND);
                toolStrip.addMember(logo);
                toolStrip.addFill();
                ToolStripButton button = new ToolStripButton(null, "16x16/button.png");
                toolStrip.addButton(button);
                HLayout bottom = new HLayout();
                bottom.setWidth100();
                bottom.setHeight100();
                main.addMember(toolStrip);
                main.addMember(bottom);
                main.draw();
        Before (SmartClient Version: v12.1p_2021-10-30/Pro Deployment (built 2021-10-30))
        Click image for larger version

Name:	before.png
Views:	121
Size:	1.3 KB
ID:	266977

        After (SmartClient Version: v12.1p_2021-12-02/Pro Deployment (built 2021-12-02))

        Click image for larger version

Name:	after.png
Views:	100
Size:	1.4 KB
ID:	266978

        Thanks

        Comment


          #19
          This issue should now be resolved. Please try the next nightly build (dated Dec 11 or above) and let us know if you continue to see problems

          Thanks
          Isomorphic Software

          Comment


            #20
            Thank you

            Comment

            Working...
            X