Skip to content
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

Empty textfield has no height #3

Closed
hoseyjoe opened this issue Sep 6, 2016 · 5 comments
Closed

Empty textfield has no height #3

hoseyjoe opened this issue Sep 6, 2016 · 5 comments

Comments

@hoseyjoe
Copy link

hoseyjoe commented Sep 6, 2016

In other targets an empty textfield has a height.

Expected Behavior

I would expect that the textfield height we be the same as a single line of text, if no height is provided

Current Behavior

the tetfield height is very small

Media

image

Test app / minimal test case

Small.zip

@ianharrigan
Copy link
Member

Can you retest with latest and see if this is still an issue, i believe this should be fixed.

@hoseyjoe
Copy link
Author

hoseyjoe commented Sep 8, 2016

  1. When I uncomment Toolkit.theme = "native"; in the previous test case (which needs an index.html to test in HaxeDevelop) I get a JS error
    ScrollView.hx:126 Uncaught TypeError: Cannot read property 'addComponent' of null
  2. It appears fixed for Toolkit.theme = "native"; when the scrollview of main.xml is changed to a vbox
  3. It is not fixed for when I comment that out the native theme (looks same as before) whether or not the scrollview of main.xml is changed to a vbox
  4. It works in nme (flash, cpp) in any case

@ianharrigan
Copy link
Member

Can this be retested? The height issue should be fixed now.

@aW4KeNiNG
Copy link
Member

aW4KeNiNG commented Dec 20, 2016

I think the OpenFL backend and NME have the same problem when I implemented the new TextField features.

Edited: yes, confirmed, the same problem in OpenFL.

Edited 2: It works in NME ;P

@aW4KeNiNG
Copy link
Member

Confirmed, it works now in html5 backend.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants