-
Notifications
You must be signed in to change notification settings - Fork 138
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
Alternative DOM widget height calculation #280
Comments
Can I use this snippet right now in my pack? This annoys the hell out of me, along with the Z-order. Obviously I would rather it be core, but until then. EDIT: Your solution is great but as a standalone piece it's a lot of wiring. Hopefully it gets cleaned up soon in the new frontend. |
Go for it then @Amorano. Currently height calculation is being used in my BoxRange and Cloud so you can take a look on it. |
Can you provide more specifics about what exactly you're doing here? Before/after screenshots, specific links to where in your code the thing you're referring to is? |
Sure, here's the starting point:
Setting Everything is dynamic so changing The basic gist is that the implementation read vallues from My |
A bit late but since this is relevant to UI stuff I've suggest to take a look of how I implemented alternate DOM widget that can have customizable widget height based on specified ratio. I already "secretly" turned it on whenever someone installed my extension and it seems nothing break so far. Hopefully it can be merged into main repo.
https://github.com/Trung0246/ComfyUI-0246
The text was updated successfully, but these errors were encountered: