Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap style unimplemented #1488

Open
jasonrclark opened this issue Oct 8, 2017 · 2 comments
Open

wrap style unimplemented #1488

jasonrclark opened this issue Oct 8, 2017 · 2 comments

Comments

@jasonrclark
Copy link
Member

From http://shoesrb.com/manual/Styles.html#:wrap

:wrap » a string
For: banner, caption, code, del, em, ins, inscription, link, para, span, strong, sub, sup, subtitle, tagline, title

How should the text wrap when it fills its width? Possible options are:

"word" - Break lines at word breaks.
"char" - Break lines between characters, thus breaking some words.
"trim" - Cut the line off with an ellipsis if it goes too long.

@PragTob
Copy link
Member

PragTob commented Oct 8, 2017

😱

Maybe your assessment is easier here, but for me implementing this in our custom text block code sounds like quite the challenge

@jasonrclark
Copy link
Member Author

Very possible you're right. This will lean heavily on what SWT text layout provides and might be tough to do 100%.

Failing that, will want to update docs and maybe emit warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants