Announcement

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

    #16
    Isomorphic,

    The issue with the CheckboxItem showing a vertical gap returned after upgrading to 13.1p even though it was reported to be fixed there. The setWrapTitle(false) workaround still works.

    We are using SmartClient Version: v13.1p_2025-01-13/Pro Deployment (built 2025-01-13).

    Thanks

    Comment


      #17
      Hi Isomorphic,
      Do you have an update for us on this topic?
      Thank you

      Comment


        #18
        Apologies for the delay - it's assigned and we'll update here shortly when we have it fixed.

        Comment


          #19
          Isomorphic,

          Do you have an update on this one? This is high priority for us since it affects most of our forms and we are approaching our release date.

          Thanks

          Comment


            #20
            Which sample code has the problem for you - the code in post #1 or post #7?

            Comment


              #21
              Post #7, however, I noticed the sample code doesn't reproduce the issue in 13.1p so I will try to provide new sample code.

              Comment


                #22
                Isomorphic,

                Here is sample code to reproduce the issue with the CheckboxItem spacing.

                I am using SmartClient Version: SNAPSHOT_v14.1d_2025-02-04/Pro Deployment (built 2025-02-04) with the Stratus skin.

                Code:
                public void onModuleLoad() {
                        Canvas.resizeFonts(2);
                        Canvas.resizeControls(2);
                
                        VLayout layout = new VLayout();
                        layout.setWidth(400);
                        layout.setHeight(300);
                
                        final DynamicForm form = new DynamicForm();
                        form.setNumCols(2);
                        form.setColWidths("*", "*");
                        form.setTitleOrientation(TitleOrientation.TOP);
                        form.setHeight100();
                        form.setWidth100();
                
                        CheckboxItem item1 = new CheckboxItem();
                        item1.setTitle("Checkbox 1 Title");
                        item1.setLabelAsTitle(Boolean.TRUE);
                        item1.setWrapTitle(Boolean.TRUE);
                        item1.setWidth(200);
                
                        CheckboxItem item2 = new CheckboxItem();
                        item2.setTitle("Checkbox 2 Extra Long Title");
                        item2.setLabelAsTitle(Boolean.TRUE);
                        item2.setWrapTitle(Boolean.TRUE);
                        item2.setWidth(200);
                        item2.setStartRow(Boolean.TRUE);
                
                        CheckboxItem item3 = new CheckboxItem();
                        item3.setTitle("Checkbox 3 Title");
                        item3.setLabelAsTitle(Boolean.TRUE);
                        item3.setWrapTitle(Boolean.TRUE);
                        item3.setWidth(200);
                
                        CheckboxItem item4 = new CheckboxItem();
                        item4.setTitle("Checkbox 4 Title");
                        item4.setLabelAsTitle(Boolean.TRUE);
                        item4.setWrapTitle(Boolean.TRUE);
                        item4.setWidth(200);
                        item4.setStartRow(Boolean.TRUE);
                
                        form.setFields(item1, item2, item3, item4);
                
                        layout.addMember(form);
                        layout.draw();
                    }
                Thanks

                Comment


                  #23
                  Great, thanks - with this code, we do see the issue in 13.0+ and a fix has been applied for builds dated February 20 and later.

                  Comment


                    #24
                    Isomorphic,

                    There is still a problem when redrawing the form.

                    Add the following to the previous sample code:
                    Code:
                    item2.setRedrawOnChange(Boolean.TRUE);
                    When you check the "Checkbox 2 Extra Long Title" checkbox, the gap reappears.

                    Thanks.

                    Comment


                      #25
                      We've fixed this also, for tomorrow's builds, and will add a couple of autotests to prevent future changes here.

                      Comment


                        #26
                        Thanks, the CheckboxItem issues have been resolved.

                        Also, have there been any recent changes to the SmartGWT Developer Console in 14.1d? It is no longer working after applying the Feb 21 build.

                        Comment

                        Working...
                        X