diff options
author | Sven Göthel <[email protected]> | 2024-02-02 12:11:59 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-02-02 12:11:59 +0100 |
commit | 020f998cad685ce2267751196528b31ce939764c (patch) | |
tree | d28bedb6379a578ad6fd760767b54cf9531a0790 /src/graphui/classes/com/jogamp/graph/ui/layout | |
parent | 5242c1392c39d3a4b0a95ebfdc72bcd93bf2f820 (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.java | 2 |
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. */ |