Hello!
So I don't know a way to do this with purely CSS. I was curious how difficult this would be to do by overriding the toolbox, so I created
this example. I tried to comment the places that I had to change to make this work. It gives you the following structure:
<div class="blocklyToolboxContents">
<div class="column">
<div class="toolboxCategory"></div>
</div>
<div class="column">
<div class="toolboxCategory"></div>
</div>
</div>
It breaks navigating the toolbox using the keyboard though. I would look into overriding
onKeyDown_ to fix this behavior.
Let me know if you have any questions.
Cheers,
Abby
Hello Abby
I always want the categories to be displayed in two columns.
2021年3月24日水曜日 13:56:44 UTC+9 Abby Schmiedt: