Announcement

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

    ListGrid.setPadding GUI problem

    Hi,

    I have noticed that the layout is not properly rendered when you use a ListGrid and set
    setPadding(10);
    setShowFilterEditor(true);

    There is an unnecessary scrollbar and the column header arrow is rendered in half.

    This issue isn't important to me, just letting you know.

    Code:
    public void onModuleLoad() {
        	VLayout layout = new VLayout();
        	layout.setWidth100();
        	layout.setHeight100();
        	
        	ListGrid grid = new ListGrid();
        	grid.setPadding(10);
    		grid.setHeight100();
    		grid.setWidth100();
    		grid.setAutoFetchData(false);
        	grid.setShowFilterEditor(true);
        	ListGridField field = new ListGridField("field");
        	grid.setFields(field);
        	layout.addMember(grid);
        	layout.draw();
        }
    tested on 19-09-2011

    best regards,
    Zdary
    Attached Files

    #2
    Is this a 2.5.x or 3.x build?

    Comment


      #3
      3.0 19-09-2011
      SmartGWT

      Comment


        #4
        Fixed. Thanks for the heads-up.

        Comment


          #5
          thank you,
          Zdary

          Comment

          Working...
          X