Package com.scriptographer.adm

Examples of com.scriptographer.adm.Frame


        group.add(labelItem, "0, 0, 0, 2");
        group.setMarginTop(2);
      } else {
        group = null;
      }
      Frame frame = new Frame(dialog);
      frame.setStyle(FrameStyle.SUNKEN);
      // Margin needs to be set before changing size...
      // TODO: Fix this in UI package?
      int top = label != null ? 2 : 4, bottom = 4;
      frame.setMargin(top, 0, bottom, 0);
      // Margin is included inside size, not added. This is different
      // to how things works with CSS...
      // TODO: Fix this in UI package?
      frame.setHeight(2 + top + bottom);
      // Now finish setting up the layout group and label
      if (group != null) {
        group.add(frame, "1, 1, full, center");
        item = group;
      } else {
View Full Code Here

TOP

Related Classes of com.scriptographer.adm.Frame

Copyright © 2018 www.massapicom. 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.