That's odd - I'd expect that to be taking up 4/6ths of the width of that, not 2/6ths?
Similarly, the gauge on the Laptop view is similar, that should be taking up more space, how big is the containing ui-group in both instances? Also, what resolution are you viewing for that mobile?
In my test environment, with a few 3x3 and 3x6 gauges, this is what I see.
What would you be expecting to be different here? I'm guessing you're expecting that the gauges are top-aligned instead? With their respective spaces, and then the white space lives below the widget? So, something like this:
, right click any of the gauges > Inspect Element. Then hover over the same element I'm hovering on here (.nrdb-layout-group--grid) and it will overlay the respective grid layout to assist with debugging.
I suspect you have auto, or a 6x1 gauge. The change we made (as was generally requested) was that we would stop trying to be smart about gauge sizing and just take whatever the user defines.
I do now realise though that I haven't considered auto as a size option (I've updated the default to be 3x3 iirc. I'll open an issue to make sure Gauges also support auto.
That's likely to be your issue. If you've got gauges of size 4, then on mobile they're going to be set as 4/14 of the width of the screen.
Whilst the full page auto scales down to 6/9/12 columns as per the Grid Breakpoints - if yo've got a group that's bigger than that, currently I consider the user's definition to be overruling mine, so the group itself will render within the page constraints, but still provide 14 columns for it's content.
In hindsight - this is probably something I should just override?
1.4.1 is going live imminently with a fix for this so that all existing ui-gauge widgets with auto sizing work again - rtaher than needing to manually set the sizes
Hi @joepavitt,
I have removed my local dashboard fork (with a hardcoded path to load the third-party widgets from my httpAdminRoot subpath), and installed this version. And it now works fine in combination with my httpAdminRoot setting.
Thanks a lot for the quick fix! Faster than my shadow
You and @Steve-Mcl and others in the team have made again a huge step forward with this new version. My congratulations!! Very exiting times for Node-RED geaks and freaks...