add a small margin around card pictures in dragtabs so the picture doesn't overlap the tab border

This commit is contained in:
myk
2013-03-05 19:20:31 +00:00
parent 1a823c3960
commit 8aab4c8c6e

View File

@@ -59,9 +59,9 @@ public enum VPicture implements IVDoc<CPicture> {
*/
@Override
public void populate() {
parentCell.getBody().setLayout(new MigLayout("insets 0, gap 0, center"));
parentCell.getBody().setLayout(new MigLayout("insets 0, gap 0, align center center"));
parentCell.getBody().add(lblFlipcard, "pos (50% - 40px) (50% - 60px)");
parentCell.getBody().add(pnlPicture, "w 100%!, h 100%!");
parentCell.getBody().add(pnlPicture, "w 100%-6!, h 100%-6!");
}
/* (non-Javadoc)