-
Notifications
You must be signed in to change notification settings - Fork 601
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
setFont method not working on paragraph and phrase. #897
Comments
The Thus, instead of
do
|
Thanks for the explanation. I will try that. |
I wouldn't consider this a bug. |
But setting font is working using setter method. You merely incorrectly assume the font here is the font used for all the paragraph content. But wouldn't that be a primitive model of a paragraph, having just content of a single font? I have to admit, though, that the name of the property, font, is a bit imprecise and does not convey which font exactly is meant. Thus, a bit of JavaDocs documentation would be great, @asturio. |
- describes that setFont() only affects new content, and don't change existing one
- describes that setFont() only affects new content, and don't change existing one
- describes that setFont() only affects new content, and don't change existing one
Description
setFont method not working on paragraph and phrase.
Reproduce
Expected behavior
first line "Hello World" should also display with font size 30. but it is not displaying it.
Screenshots
Output Screenshot -
System:
The text was updated successfully, but these errors were encountered: