Page 1 of 1
MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Mon Sep 26, 2022 9:00 pm
by sieweb
Like in a LayoutGrid I tried to set MaximumWidth in the FlexGrid to a negativ value (-1200) to display the border correctly.
But after local publishing WWB is crashing - and the border remains spanned.
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 1:43 am
by crispy68
I could be wrong on this but entering a negative number does not work for flexgrid. I believe this is only for layout grid to be backwards compatible for previous versions (see the help). You simply need to enter 1200. The style tab is for the entire flexgrid. You will need to select the grids, click style down at the bottom and add custom borders to the grids themselves.
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 5:38 am
by Pablo
crispy68 is correct, you cannot use a negative number for a flexgrid. This will result in invalid HTML code.
This 'hack' is only for the layout grid to remain backwards compatible.
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 8:44 am
by sieweb
That is what I supposed.
But
crispy68 wrote: Tue Sep 27, 2022 1:43 am
You will need to select the grids, click style down at the bottom and add custom borders to the grids themselves.
The result is not the same:
https://b4flatline.de/test01/songs.html
the second song done with LayoutGrid (Von Bienen und Blumen) shows the border I would like to have.
The first song (b4flatline) show the Flex grid. The red border ist the complete grid and the green like you suggested.
I would like to separate the songs each from another.
horst
p.s.: the FlexGrid is not yet adapted to mobile
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 1:15 pm
by crispy68
So to just clarify, you are wanting the border to go around the text and video as 1 border rather than separate borders around each correct?
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 1:28 pm
by alan_sh
Pablo wrote: Tue Sep 27, 2022 5:38 am
crispy68 is correct, you cannot use a negative number for a flexgrid. This will result in invalid HTML code.
This 'hack' is only for the layout grid to remain backwards compatible.
Pablo, can you put a check in for this (in a future version) so that it comes up with an error message rather than crashing?
cheers
Alan
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 1:35 pm
by Pablo
Pablo, can you put a check in for this (in a future version) so that it comes up with an error message rather than crashing?
For me, it does not crash, it just fails (as expected).
Does it crash for you? If so, then what are the exact settings?
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 1:54 pm
by crispy68
It didnt crash for me either however in the workspace it was wonky looking by putting the interior contents of the flexgrid off to the right side of the workspace outside of the flexgrid itself.
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 1:57 pm
by sieweb
Hi Pablo,
with a new project with just a FlexGrid there is no crash, but with mine I am working on:
set the max width to -1200 hit OK hit F5
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 2:06 pm
by Pablo
For me, it does not crash.
But I will investigate if the minus can be removed automatically.
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 2:56 pm
by alan_sh
Pablo wrote: Tue Sep 27, 2022 1:35 pm
Pablo, can you put a check in for this (in a future version) so that it comes up with an error message rather than crashing?
For me, it does not crash, it just fails (as expected).
Does it crash for you? If so, then what are the exact settings?
I was just going off the original post. Sorry. But the principle stands. If it's not allowed, can you put up a message saying so?
Alan
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 2:57 pm
by sieweb
crispy68 wrote: Tue Sep 27, 2022 1:15 pm
So to just clarify, you are wanting the border to go around the text and video as 1 border rather than separate borders around each correct?
Yes, whatever the FlexGrid is containg just one border round the complete Grid within the max width.
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 6:18 pm
by crispy68
Is this essentially what you are wanting?
DEMO
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 8:37 pm
by sieweb
Hi, yes. looks like. You can see it for all the other songs.
...
At my first look at my mobile I read:
'Is this essential ... ' and I started at once to think about what is essential for me

Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Tue Sep 27, 2022 9:32 pm
by crispy68
You can download my demo here:
download
Re: MaximumWidth FlexGrid vs LayoutGrid / crash
Posted: Wed Sep 28, 2022 12:24 pm
by sieweb
Custom border, now I've got it - thank you so much.
I will change the style from the other LayoutGrids to custom borders too so that they look exactly the same.
horst