-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
CentimetersToPixels not working for marginLeft and marginTop positioning #248
Comments
I guess I created the bug when implying more strict value checking for styles. Bugfix pushed. Please retest. Thanks. |
ivanlanin
added a commit
that referenced
this issue
May 26, 2014
Thank you Ivan, that solved the issue ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My daytime job took so much time last two weeks, that I was not able to contribute. However, it has become quieter and I resynced my development tree.
All of a sudden some test code did not work any longer. For positioning an image and two textboxes, I used the following style:
Using this code, no longer positions the image or textbox correctly. The position was simply marginLeft=0 and marginTop=0. When I change the relevant part into:
The image and textbox are correctly positioned. Note, that 'width' and 'height' do not need to be changed.
I cannot find why this behaviour is all of a sudden present. It might be a result of static vs dynamic functions, but my knowledge in this respect is very limited.
The text was updated successfully, but these errors were encountered: