Monday, November 14, 2016

How to set spacing between row and column in a SWT grid layout

In a Grid layout if we need to set spacing between row and column we can do it by setting the horizontal and vertical spacing property of the grid layout.

  Composite composite1 = new Composite(jouWindowColumComposite, SWT.NONE); composite1.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); composite1.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).spacing(0, 5).create());

5 Strategies for Getting More Work Done in Less Time

Summary.    You’ve got more to do than could possibly get done with your current work style. You’ve prioritized. You’ve planned. You’ve dele...