Announcement

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

    Tahoe issues (ToolStrip and ListGrid)

    Hey,

    thanks for this new design... seems to be a great step forword. I am testing it right now and I found some issues which I want to share with you. (Nightly 6.1 - 11.05.)

    1. When you click on the headline of a list grid... there is a white background when the column is focused. Just click on a headline and you will see it.
    Click image for larger version

Name:	clickOnHeadline.jpg
Views:	44
Size:	38.1 KB
ID:	244587


    2. When you add a toolstrip to a layout, you will see a small margin around the toolstrip (See Screenshot and sample Code)
    Click image for larger version

Name:	marginToolBar.jpg
Views:	39
Size:	19.5 KB
ID:	244589


    Sample code:
    Code:
    private void initExample()
        {
            Label labelInstruction = new Label( "" );
            labelInstruction.setWidth( "20%" );
            labelInstruction.setMargin( 10 );
            labelInstruction.setAlign( Alignment.LEFT );
            labelInstruction.setBorder( "" );
            labelInstruction.setWidth( "*" );
            labelInstruction.setContents( "Example: Margin around ToolStrip" );
    
            ToolStrip headlineStrip = new ToolStrip();
            headlineStrip.setWidth100();
            headlineStrip.addMember( labelInstruction );
    
            ToolStrip toolStrip = new ToolStrip();
            toolStrip.setWidth100();
            toolStrip.addFill();
    
            ToolStripButton buttonCancel = new ToolStripButton( GWebAdmin.lang.close() );
            buttonCancel.setIcon( "icons/16x16/cancel.png" );
            toolStrip.addButton( buttonCancel );
    
            DynamicForm form = new DynamicForm();
            form.setWidth100();
            form.setHeight100();
    
            VLayout layout = new VLayout();
            layout.setMembers( headlineStrip, form, toolStrip );
    
            window = new Window();
            window.setShowShadow( true );
            window.setShadowSoftness( 10 );
            window.setShadowOffset( 5 );
            window.setSize( "800", "400" );
            window.setShowMaximizeButton( true );
            window.setShowMinimizeButton( true );
            window.setModalMaskOpacity( 50 );
            window.setIsModal( true );
            window.setShowModalMask( true );
            window.centerInPage();
            window.addItem( layout );
            window.draw();
        }
    Thanks
    Andy
    Attached Files
    Last edited by andyx1975; 14 May 2017, 22:39.

    #2
    So problem 1 with the headline seems to be fixed in smartgwt LGPL 6.1d from 16 May. Problem 2 is still available.

    Another thing I noticed with chrome... when you click on a tabset... the height of the tab is increasing for 1 or 2 pixel. This only appears in Chrome and Opera... not in Firefox.

    Thanks
    Andy


    Comment

    Working...
    X