Page 1 of 1

Is this a mistake in the layout grid?

Posted: Mon Jul 15, 2019 8:38 am
by REKAsoft
In previous versions, the maximum width affected the entire layout grid (including background and borders). This behavior was not correct, because in that case the background could never be full width. This has been changed in the current version.
Maximum width will now only affect the content of the Layout Grid. For backward compatibility, the old behavior is still available: enter a dash '-' before the number will activate this behavior. For example: -1024
For old projects this will automatically be added, so you do not have to do it manually.
For fixed footers or headers, everything is always left justified. Is this so wanted and why ....?

Re: Is this a mistake in the layout grid?

Posted: Mon Jul 15, 2019 9:04 am
by Pablo
This is expected behavior because a 'fixed' header/footer will have a fixed (absolute) position.

Re: Is this a mistake in the layout grid?

Posted: Mon Jul 15, 2019 10:24 am
by REKAsoft
I understand what it means to fix, but why can not this be in the middle or right ...? I can not see any sense there.

Re: Is this a mistake in the layout grid?

Posted: Mon Jul 15, 2019 10:27 am
by Pablo
A fixed element is has a fixed (not flexible) position. So if you limit the element's size (by using max-width) then it will be left aligned.
An element cannot be fixed and have a variable position at the same time.