-
Notifications
You must be signed in to change notification settings - Fork 95
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
The windows with different sizes corners drawn incorrectly. #4
Comments
Can you please provide a screenshot or a live example. |
I see what you mean now :) the problem becomes worst if all corners have different sizes . this is why I assume that they all have same width/height. there is a possible solution I see here, it'll be by adding possibility to change background paddings in all directions and accept negative paddings. in your case, a negative bottom bgPadding can solve the problem. don't know if this workaround can fix your issue temporarly, but you can try to set bgPadding to negative value, it's not very clean but can avoid you waiting for the fix. |
The task in which the four corners are of different sizes - can not be solved and absurd. The task in which the left and right angles are equal and the upper and lower heights are not equal - solved. Such a structure is quite common interface. I think you still need to choose the starting point for the bottom (left / right) and the top (left / right) to determine the angles of elevation. |
But this is my imho, of course) |
yes this can be a solution, I'll see it don't add much complexity to the code. |
As I understand it, the calculation of the height of the corners of the window comes on top of a couple of corners. If the height of the upper corners of the window and bottom different - there is a bug ...
The text was updated successfully, but these errors were encountered: