Is there a way to have dynamic width, height & margins on elements yet?
I am building a tournament bracket creator and I had to use Javascript to draw my brackets because that was the only way to do it since bubble doesn’t allow dynamic heights, widths & margins… but I am having a ton of trouble with java when trying to switch brackets. This would be so easy if Bubble allowed it.
which plugin? I’ve not seen one that does this easy. The only reference I ever see is people using the percentages to adjust to screen size but in my case with sports brackets, this will not work.
I’m curious too because there’s a few solutions for that. I’m not sure what is your issue exactly that need dynamic heights and widths/margins… Maybe you can share screencast?
I created it to support Single, Double & Triple Elimination plus 3GG which is what we will be using a ton of. It works great when I click a bracket, but because I use javascript to draw it, the browser won’t let me easily switch between brackets without refreshing the page.
None of the links work on the Plugin page so I was not able to test. Does it only look at percentages or can I actually plug in pixel dimensions for heights, widths and top margins?
Since these are tournament brackets, I am using Repeating groups, as I have a RG of Rounds and then nested inside each Round, I have a RG of Games… see image.
Hum… I’m not confident with AI to work with Bubble plugin editor, but you can get help for what is related to JS/jquery for sure.
Also, you can try to find a similar plugin (element) that is free and inspect the code and how this work.
For example, I can easily see a “trigger action” function when bracket is clicked. You will need to use publish state function + trigger action function. You can read plugin editor documentation for how it work, but you can also check existing plugin so you learn how this was built.
It’s a plugin not a template, bubble just can’t figure out there SEO to show the snapshot properly.
From the link provided in my post, click either working link under the examples listed as height and width that open the demo editor, then you can preview.