Skip to content

Commit a9f1e67

Browse files
committed
fix doc for text & text_align
1 parent 2cbc854 commit a9f1e67

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/scenic/primitive/style/text_align.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ defmodule Scenic.Primitive.Style.TextAlign do
1818
1919
TextAlign can be any one of the following values
2020
21-
* `:left` - Left side horizontally. Base of the text vertically.
22-
* `:right` - Right side horizontally. Base of the text vertically.
23-
* `:center` - Centered horizontally. Base of the text vertically.
21+
* `:left` - Left side alignment.
22+
* `:right` - Right side alignment.
23+
* `:center` - Centered alignment.
2424
"""
2525
use Scenic.Primitive.Style
2626

lib/scenic/primitive/text.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ defmodule Scenic.Primitive.Text do
2222
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the text. Only solid colors!
2323
* [`font`](Scenic.Primitive.Style.Font.html) - name (or key) of font to use
2424
* [`font_size`](Scenic.Primitive.Style.FontSize.html) - point size of the font
25-
* [`font_blur`](Scenic.Primitive.Style.FontBlur.html) - option to blur the characters
26-
* [`text_align`](Scenic.Primitive.Style.TextAlign.html) - alignment of lines of text
27-
* [`text_height`](Scenic.Primitive.Style.TextHeight.html) - spacing between lines of text
25+
* [`text_align`](Scenic.Primitive.Style.TextAlign.html) - horizontal alignment of lines of text
26+
* [`text_base`](Scenic.Primitive.Style.TextBase.html) - vertical alignment of lines of text
27+
* [`line_height`](Scenic.Primitive.Style.LineHeight.html) - spacing between lines of text
2828
2929
## Usage
3030

0 commit comments

Comments
 (0)