Skip to content

Improve Label underline, strikethrough and color [reverted] #2364

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

Merged
merged 58 commits into from
Feb 10, 2025

Conversation

aismann
Copy link
Contributor

@aismann aismann commented Feb 3, 2025

Describe your changes

Improve class Label:

  • underline and strikethrough on the same Label (also multiline)
  • setColor or setTextColor change the color of the Label and the "line" too.
  • SystemFont supports underline and strikethrough too
  • resizing the window resizing the "line" too.

Issue ticket number and link

see #2328

image
image

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

halx99 and others added 30 commits December 10, 2024 01:01
This reverts commit 44ab5e2.
@aismann aismann marked this pull request as ready for review February 6, 2025 11:03
…Stuff"

This reverts commit 08f83f5, reversing
changes made to e114906.
@halx99 halx99 added this to the 2.3.3 milestone Feb 6, 2025
@halx99 halx99 changed the title class Label: Fix/Improve behavior of underline, strikethrough and color Improve Label underline, strikethrough and color Feb 6, 2025
Copy link
Collaborator

@halx99 halx99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your branch seems to have diverged from the dev branch of main repo, resulting in unnecessary modifications and conflicts. It is recommended that you create a new branch from the latest dev, apply your modifications, and then use force push to your PR branch.

@aismann aismann marked this pull request as draft February 8, 2025 15:07
@aismann aismann marked this pull request as ready for review February 8, 2025 18:07
@aismann
Copy link
Contributor Author

aismann commented Feb 9, 2025

Your branch seems to have diverged from the dev branch of main repo, resulting in unnecessary modifications and conflicts. It is recommended that you create a new branch from the latest dev, apply your modifications, and then use force push to your PR branch.

Should be fixed with the latest PR

@aismann aismann requested a review from halx99 February 9, 2025 07:25
Copy link
Contributor Author

@aismann aismann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be fix with the latest PR

@halx99
Copy link
Collaborator

halx99 commented Feb 10, 2025

The outline effect was broken, @aismann please take a look

previous version:
image

latest dev branch:
image

@halx99
Copy link
Collaborator

halx99 commented Feb 10, 2025

I reverted it, you can continue working your own branch, once ready, then create a new PR

@halx99 halx99 changed the title Improve Label underline, strikethrough and color Improve Label underline, strikethrough and color [reverted] Feb 10, 2025
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

Successfully merging this pull request may close these issues.

2 participants