Announcement

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

    Cutted CheckBoxes of SelectItems with a DropDown List Grid

    Hi,

    if you are using SelectItems with a DropDown listGrid, the CheckBoxes are cutted (See ListGrid).

    Tested SmartGWT: 6.1p (Build Wed, 24.01.2018) LPGL
    Tested Screen Resolution: Dense


    Click image for larger version  Name:	comboBox.png Views:	1 Size:	6.4 KB ID:	251497

    Code:
            ListGridField idFieldTour = new ListGridField( "id" );
            idFieldTour.setWidth( "8%" );
            ListGridField nameFieldTour = new ListGridField( "name" );
            nameFieldTour.setWidth( "25%" );
            SelectItem selectItem = new SelectItem( ident, GWebAdmin.lang.tour() );
            selectItem.setOptionDataSource( dataSource );
            selectItem.setWidth( "*" );
            selectItem.setPickListWidth( 950 );
            selectItem.setPickListFields( idFieldTour, nameFieldTour);
            selectItem.setValueField( "id" );
            selectItem.setDisplayField("name" );
    
            ListGrid listGrid = new ListGrid();
            listGrid.setShowHeader( true );
            listGrid.setWrapCells( true );
            listGrid.setEdgeMarginSize( 3 );
            listGrid.setShowShadow( false );
            listGrid.setShowFilterEditor( true );
            listGrid.setEmptyCellValue( "---" );
            selectItem.setPickListProperties( listGrid );

    Thanks
    Andy
    Last edited by andyx1975; 29 Jan 2018, 23:04.

    #2
    When I remove the following method the checkbox are not cutted:

    Code:
    listGrid.setWrapCells( true );
    When you set "setWrapCells( true )" and you use other resolutions like "medium" or compact" this seems to happen too. The following example is set to "medium":

    Click image for larger version

Name:	comboBox2.png
Views:	81
Size:	4.8 KB
ID:	251499
    Last edited by andyx1975; 29 Jan 2018, 23:22.

    Comment


      #3
      We've made a change to address this issue. Please try the next nightly build, dated January 31.

      Regards
      Isomorphic Software

      Comment


        #4
        Thanks! It's fixed!

        best wishes
        Andy


        Comment

        Working...
        X