Skip to content

PR: Fix several bugs with button's title (#19073),breaks Buttons custom fonts style in cocos studio #19258

@sonyps5201314

Description

@sonyps5201314
  • cocos2d-x version:git v3 latest
  • devices test on:win32
  • developing environments
    • VS version:vs2017 15.9.4
      Steps to Reproduce:
      cocos studio中的样子:
      image
      test_bug.zip
  1. 下载附件2
    cpp-empty-test.zip
    ,直接编译运行看到结果,看到出问题的样子(大小缩小了):
    image

2.撤销该提交的更改(UIButton.h,UIButton.cpp),重新编译cocos及程序,就看到正确的样子了。
image

官方你们说该怎样整?官方升级cocos studio,还是开放cocos studio的源代码,还是修改cocos2dx源代码以修复本问题?

English:
What cocos studio looks like:

  1. Download attachment 2, compile and run directly to see the result, and see what the problem looks like (the size is reduced) :
  2. Undo the submitted changes(UIButton.h,UIButton.cpp) and recompile cocos and the program, and you will see the correct appearance.
    What do you say the authorities do?Will you officially upgrade cocos studio, open the source code of cocos studio, or modify the source code of cocos2dx to fix this problem?

reference linking:
#19253

PR: http://github.com/cocos2d/cocos2d-x/pull/19073

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions