Skip to content
New issue

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

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

Already on GitHub? # to your account

Cocos2dx/Axmol 1.0.1: Label issues: 1) Underline/Strikethrough can not use on the same label; 2) Resizing the window is not resizing the line (underline/strikethrough) 3) Line color is not Label color #2328

Open
aismann opened this issue Jan 11, 2025 · 3 comments
Assignees
Labels
Axmol-v1 bug Something isn't working cocos2dx The issue present in original cocos2dx official-v4

Comments

@aismann
Copy link
Contributor

aismann commented Jan 11, 2025

  • axmol version >2.0:
    Thickness of the lines be to big.
    image

Should be look like this:
image

Check FairyGUI which using ax:Label too!

@aismann aismann changed the title Thickness issue on Label->enableUnderline(); Label->enableStrikethrough(); Thickness issue on Label->enableUnderline(); Label->enableStrikethrough(); Check also FairyGUI which using ax:Label too! Jan 11, 2025
@aismann aismann self-assigned this Jan 11, 2025
@aismann aismann changed the title Thickness issue on Label->enableUnderline(); Label->enableStrikethrough(); Check also FairyGUI which using ax:Label too! Thickness issue on Label->enableUnderline(); Label->enableStrikethrough(); Check FairyGUI which using ax:Label too! Jan 11, 2025
@aismann
Copy link
Contributor Author

aismann commented Jan 24, 2025

Small update (im still on it):
Size g_resourceSize(960, 640);
Size g_designSize(480, 320);
Image

Image

Image

Size g_resourceSize(960, 640);
Size g_designSize(480, 1320);
Image

@aismann
Copy link
Contributor Author

aismann commented Jan 27, 2025

Some "INTERNAL" info here:
Comparing Axmol 1.0.1p1 (using setLineWidth()) and Axmol "LATEST" (PR have to push!)

Axmol 1.0.1p1: Resizing of the underline is not 'supported':
Image
Image

Axmol 2.3.x: underline is resizing (Fix 2)
Image
Image

Fix also 1) Underline/Strikethrough can not use on the same label;
Image
Image

@aismann aismann added bug Something isn't working Axmol-v1 cocos2dx The issue present in original cocos2dx labels Jan 27, 2025
@aismann aismann changed the title Thickness issue on Label->enableUnderline(); Label->enableStrikethrough(); Check FairyGUI which using ax:Label too! Cocos2dx/Axmol 1.0.1: Label->enableUnderline(); Label->enableStrikethrough(); resizing the window is not resizing the line (underline/strikethrough) Jan 27, 2025
@aismann aismann changed the title Cocos2dx/Axmol 1.0.1: Label->enableUnderline(); Label->enableStrikethrough(); resizing the window is not resizing the line (underline/strikethrough) Cocos2dx/Axmol 1.0.1: Label issues: 1) Underline/Strikethrough can not use on the same label; 2) Resizing the window is not resizing the line (underline/strikethrough) Jan 27, 2025
@aismann
Copy link
Contributor Author

aismann commented Jan 27, 2025

Line color is not Label color:
Image

Fix:
Image

@aismann aismann changed the title Cocos2dx/Axmol 1.0.1: Label issues: 1) Underline/Strikethrough can not use on the same label; 2) Resizing the window is not resizing the line (underline/strikethrough) Cocos2dx/Axmol 1.0.1: Label issues: 1) Underline/Strikethrough can not use on the same label; 2) Resizing the window is not resizing the line (underline/strikethrough) 3) Line color is not Label color Jan 27, 2025
aismann added a commit to aismann/axmol that referenced this issue Jan 28, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Axmol-v1 bug Something isn't working cocos2dx The issue present in original cocos2dx official-v4
Projects
None yet
Development

No branches or pull requests

1 participant