The FLabel lblLog in ViewWinLose class was cutting off the top of the "Game Log" text, this now looks OK on Mac OS X.

This commit is contained in:
Chris
2012-02-01 02:57:51 +00:00
parent 69cabe215c
commit 6b45d7564b

View File

@@ -151,9 +151,9 @@ public class ViewWinLose {
final JPanel pnlLog = new JPanel(new MigLayout("insets 0, wrap, ax center"));
pnlLog.setOpaque(false);
final FLabel lblLog = new FLabel("Game Log", SwingConstants.CENTER);
lblLog.setFontScaleFactor(0.9);
lblLog.setFontScaleFactor(0.8);
lblLog.setFontStyle(Font.BOLD);
pnlLog.add(lblLog, "w 300px!, h 22px!, gap 0 0 20px 0");
pnlLog.add(lblLog, "w 300px!, h 28px!, gap 0 0 20px 0");
pnlLog.add(new FScrollPane(txtLog), "w 300px!, h 100px!, gap 0 0 10px 0");
pnlLeft.add(pnlLog, "w 100%!");