Skip to content

Commit

Permalink
Set labels to wrap text in settings popup to prevent nasty overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklul committed Apr 24, 2022
1 parent c207978 commit 641c0f0
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Assets/USharpVideoSubtitles/Subtitles.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'Alignment:'
Expand Down Expand Up @@ -2000,7 +2000,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 520, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &246470201000762903
CanvasRenderer:
Expand Down Expand Up @@ -2039,7 +2039,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'Font size:'
Expand Down Expand Up @@ -8691,7 +8691,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 520, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &8260720347895744280
CanvasRenderer:
Expand Down Expand Up @@ -8730,7 +8730,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'Font color:'
Expand Down Expand Up @@ -13099,7 +13099,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 560, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &2045698453889078060
CanvasRenderer:
Expand Down Expand Up @@ -13138,7 +13138,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'Outline color:'
Expand Down Expand Up @@ -13192,7 +13192,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 520, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &7823883688668267930
CanvasRenderer:
Expand Down Expand Up @@ -13231,7 +13231,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'BG opacity:'
Expand Down Expand Up @@ -15767,7 +15767,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 520, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &595860329133721137
CanvasRenderer:
Expand Down Expand Up @@ -15806,7 +15806,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'Presets:'
Expand Down Expand Up @@ -16396,7 +16396,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 520, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &1970132094359377456
CanvasRenderer:
Expand Down Expand Up @@ -16435,7 +16435,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'Outline size:'
Expand Down Expand Up @@ -16903,7 +16903,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 520, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &5976759573670536707
CanvasRenderer:
Expand Down Expand Up @@ -16942,7 +16942,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'BG color:'
Expand Down Expand Up @@ -17377,7 +17377,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 140}
m_SizeDelta: {x: 520, y: 140}
m_Pivot: {x: 0, y: 1}
--- !u!222 &455798253176373978
CanvasRenderer:
Expand Down

0 comments on commit 641c0f0

Please sign in to comment.