-
Notifications
You must be signed in to change notification settings - Fork 57
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
7GUIs circle drawer example does not work #471
Comments
You are right, this example was broken by the last major update. I removed the |
While it would be nice to have the ability to open real additional windows like a dialog window, I don't think it should be a priority for vizia. I think fixing this issue for the with a popup is fine, and a very cool demo. And if opening additional windows is implemented in vizia, the example can be updated. I did run into an issue with positioning of the popup. Using original css |
Just to clarify, the issue seems to be that setting bottom property does nothing if the top is not set. |
Oh yeh bottom won't work unless top is set to stretch. Can also work with auto top, which it is by default, but only if the parent sets child-top to stretch. |
Currently dialog widget is not a popup nor a window, but a widget that is fully transparent until shown – which means its size is counted in the layout as if it is always shown. I assume this is just a temporary implementation, and will be changed in the future.
In case I am wrong about it being current expected behavior, you can see what I mean by running 7GUIs circle drawer example. It can be seen in the save dialog example too, it is just not as obvious.
On the left is the current state of the circle drawer example, on the right is version with fixes that restore behavior from the initial commit.
Additional issues in circle drawer example:
Popup menu is not triggering dialog to show - as the on press event is attached to the popup instead of the button in the popup.
If you attach the on press event to the button, the dialog does not show coordinates of the circle it looks like this:
The dialog is not closed upon clicking to draw more circles, because it does not have an on blur event.
I have restored previous behavior on my branch fix_circle_drawer. I can make a pull request if you want, but I suspect you’d like to wait with fixes until dialog widget has been improved.
The text was updated successfully, but these errors were encountered: