Skip to content

TextField.getHeight()が効かない #18

@gunyarakun

Description

@gunyarakun

arc.display.TextFieldのインスタンスで、getHeight()メソッドがnullを返します。

measureText()がwidthしか返さない現状で、canvasでテキストの高さを得るのはなかなか難しいようです。
http://stackoverflow.com/questions/1134586/how-can-you-find-the-height-of-text-on-an-html-canvas

仕様かと思いますが、一応報告させていただきます。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions