Hey Team,
Using 4.17.2, I'm testing a simple button layout using the GUI. Floating toolbar, vertical with 3 columns, 6 buttons. As below;
We issue occurs when I deactivate and reactive the button toolbar. It messes up the existing layout. As below;
Deactive/reactive cycle again;
And if I do it once more, it returns to the correct layout. This is reproducible on a new install, new profile... no CSS or any additions other than straight GUI clicking. Both orientations are affects.
Where it becomes frustrating is when you reload your profile the button layout is not correct, so you have to cycle until correct.
I understand some hacks to fix this, using CSS or draw them in Geyser, but when you just need something quick and simple....
Button Layout Bug?
Re: Button Layout Bug?
The description of the problem is great, as is showing it in action, but it would be useful if you showed the code you were using to generate those buttons, so we could hopefully figure out where the problem is occurring.
Re: Button Layout Bug?
Those are being made in the script editor on the Button tab, I don't think they're being created by code.
Re: Button Layout Bug?
Correct, all I did was hit Add Button several times. Is this reproducible on your system?
- SlySven
- Posts: 1023
- Joined: Mon Mar 04, 2013 3:40 pm
- Location: Deepest Wiltshire, UK
- Discord: SlySven#2703
Re: Button Layout Bug?
That isn't a bug, that is a somewhat odd feature!
Seriously, it was put in before my time (<2013) to allow the first button to be shifted down or across (depending on layout direction) so that can be offset. But yeah, it is a strange bit of code and something that I want to eventually fix so that you can insert "blanks" into the layout and not have it reorganise itself each time it gets saved.
Seriously, it was put in before my time (<2013) to allow the first button to be shifted down or across (depending on layout direction) so that can be offset. But yeah, it is a strange bit of code and something that I want to eventually fix so that you can insert "blanks" into the layout and not have it reorganise itself each time it gets saved.
Re: Button Layout Bug?
Thank SS, the reorg is a weird feature, yet predictable.