Skip to content

Vertical align wrong and text font wrong for input place holder (ui::EditBox does not support TextVerticalAlignment) #2811

@paulocoutinhox

Description

@paulocoutinhox
  • axmol version: 2.9.0
  • devices test on: ios/macos
  • developing environments
    • NDK version: r23c
    • Xcode version: 14.2+
    • Visual Studio:
      • VS version: 2022 (17.9+)
      • MSVC version: 19.39+
      • Windows SDK version: 10.0.22621.0+
    • cmake version: 3.31

FairyGUI Placeholder for Input:

Image

Result when run on iOS:

Image

Result when run on macOS:

Image

Another problem is how the placeholder is displayed when we start type, it go to top of input broken:

Image

Another problem is how it is displayed after set text, it still not vertical centered (in editor image you can see that is centered vertically):

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions