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

Underline is hidden by background shape #407

Closed
afester opened this issue Dec 20, 2016 · 1 comment
Closed

Underline is hidden by background shape #407

afester opened this issue Dec 20, 2016 · 1 comment

Comments

@afester
Copy link
Collaborator

afester commented Dec 20, 2016

With the following CSS

-rtfx-background-color: #dcdcdc;
-rtfx-underline-color: blue;
-rtfx-underline-width: 1px;

the blue underline is hidden by the gray background shape.
The underline should be in front of the background shape instead. The following hack in ParagraphText.java fixes this:

getChildren().add(/*0,*/ underlineShape);

by adding the underline shapes to the end of the ParagraphText's child list. Needs some additional verification before submitting a pull request.

@TomasMikula
Copy link
Member

Fixed by #408

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

No branches or pull requests

2 participants