VwpFAQGridPanelPad

Grid Panel: How can I pad grid panel columns with blanks?

I have gridpanel B inside another gridpanel A. Gridpanel B is set to six columns. I add two buttons X and Y to gridpanel B, the buttons are layed out like so X Y I would like them layed out by the column they occupy X Y without the large empty space in between buttons X and Y.

To help maintain layout for blank areas, you can put an empty staticText component in the grid columns that you are not using. This will display at designtime, but not at runtime.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo