NetXMS Support Forum

English Support => General Support => Topic started by: ahd-develop on March 04, 2019, 09:17:39 PM

Title: Dashboard element stacking
Post by: ahd-develop on March 04, 2019, 09:17:39 PM
I am having an issue getting a couple elements to stack. On the first row I have columns set to '8' and elements set to 2/2,2/2,1/1,1/1,3/2 under the Layout. My assumption would be that the two elements set as 1/1 would stack vertically but they position side by side forcing me to set the last element to 2/2 instead of 3/2 for the first row. (Note:  last element not shown)

I've solved all of my problems to date without bugging you guys but I'm stumped on this. How can I fix it? Edit XML?

(https://i.imgur.com/4FEwc4Z.jpg)
Title: Re: Dashboard element stacking
Post by: Tursiops on March 07, 2019, 01:09:00 PM
The dashboard is built left to right, top to bottom. The order is important here, as it leads to the following column assignment in your setup:
First row: 2, 2, 1, 1, 3 (one too many as it builds left to right and 1/1 fits next to 1/1 still)
Second row: 2, 2, empty(!), 3

You want to move the second 1/1 item below the 3/2 one, which should give you what you're looking for:
First row: 2, 2, 1, 3
Second row: 2, 2, 1, 3

I built a quick test dashboard which shows the layout and values.
Title: Re: Dashboard element stacking
Post by: ahd-develop on March 07, 2019, 03:50:46 PM
That fixed it. Thank you for your help.

(https://i.imgur.com/Z2PSra7.jpg)