Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.ScrolledComposite.computeSize()


      FontMetrics fm = gc.getFontMetrics();
      int height = 10 * fm.getHeight();
      gc.dispose();

      TableWrapData data = new TableWrapData(TableWrapData.FILL_GRAB);
      data.maxHeight = scroll.computeSize(SWT.DEFAULT, height).y;
      templateSection.setLayout(new TableWrapLayout());
      templateSection.setLayoutData(data);

      TableWrapLayout layout = new TableWrapLayout();
      layout.leftMargin = 0;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.