text: remove SingleLine from LayoutOptions

Low level text layout should not deal with filtering newlines.

Updates gio#61

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-09 20:00:09 +01:00
parent 778b7e6398
commit 682d2810d3
3 changed files with 6 additions and 13 deletions
+1 -3
View File
@@ -36,10 +36,8 @@ type Layout struct {
// LayoutOptions specify the constraints of a text layout.
type LayoutOptions struct {
// MaxWidth set the maximum width of the layout.
// MaxWidth is the available width of the layout.
MaxWidth int
// SingleLine specify that line breaks are ignored.
SingleLine bool
}
// Style is the font style.