aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/layout
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-02-02 12:11:59 +0100
committerSven Göthel <[email protected]>2024-02-02 12:11:59 +0100
commit020f998cad685ce2267751196528b31ce939764c (patch)
treed28bedb6379a578ad6fd760767b54cf9531a0790 /src/graphui/classes/com/jogamp/graph/ui/layout
parent5242c1392c39d3a4b0a95ebfdc72bcd93bf2f820 (diff)
Bug 1493 - Text/ASS Subtitle via MediaButton/MediaPlayer Alignment defaults to CenterHoriz, also support Left.
MediaButton: Also cleanup local vars in layout
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/layout')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/layout/Alignment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/layout/Alignment.java b/src/graphui/classes/com/jogamp/graph/ui/layout/Alignment.java
index 17b4df85c..66f407cd5 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/layout/Alignment.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/layout/Alignment.java
@@ -37,6 +37,8 @@ public final class Alignment {
public static final Alignment None = new Alignment();
/** {@link Bit#CenterHoriz} and {@link Bit#CenterVert} alignment constant. */
public static final Alignment Center = new Alignment(Alignment.Bit.CenterHoriz.value | Alignment.Bit.CenterVert.value );
+ /** {@link Bit#CenterHoriz} alignment constant. */
+ public static final Alignment CenterHoriz = new Alignment(Alignment.Bit.CenterHoriz.value );
/** {@link Bit#Fill} alignment constant. */
public static final Alignment Fill = new Alignment(Alignment.Bit.Fill.value);
/** {@link Bit#Fill}, {@link Bit#CenterHoriz} and {@link Bit#CenterVert} alignment constant. */