mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
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:
+1
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user