mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Center option text
This commit is contained in:
@@ -59,7 +59,7 @@ public class VCardZoom extends FOverlay {
|
|||||||
float x = width * FList.INSETS_FACTOR;
|
float x = width * FList.INSETS_FACTOR;
|
||||||
float y = 3;
|
float y = 3;
|
||||||
g.startClip(0, 0, width, height);
|
g.startClip(0, 0, width, height);
|
||||||
g.drawText(value.toString(), font, foreColor, x, y, width - 2 * x, height - 2 * y, true, HAlignment.LEFT, true);
|
g.drawText(value.toString(), font, foreColor, x, y, width - 2 * x, height - 2 * y, true, HAlignment.CENTER, true);
|
||||||
g.endClip();
|
g.endClip();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user