Incorrect layout column width
PermalinkIt seems that the width of the first and last column of a layout are incorrectly calculated. Attached is an example of the default theme with a 4 column layout and a spacing of 20px.
In the site I'm working on it's especially apparent, since I need to include a fixed-size image in each column. Then you immediately see the strange spacing between the columns, caused by incorrect column widths.
Any solution for this problem?
Thanks, Pascal

I created completely new C5 install with sample content and added the layout to the home page. So what you're seeing in the screen shot is the default "right_sidebar" page type of the Greek Yogurt theme.
For better illustration, I created a new screen shot with exactly my problem: a layout, added to the (site wide) "Header Image" area. The area is 960px wide. I added 4 columns with a spacing of 20px. So it should be able to neatly distribute 4 images with a width of 225px. But as you can see in the screenshot, the distribution is uneven.
From the screenshot in my original post you can see that it seems that it has to do with a different widths of the first and last element. In the browser I added an "overflow: hidden" to the "ccm-layout-col-spacing" class and that shows that difference exactly.
Your help is much appreciated!
Pascal
P.S. I'm running the very latest version of C5: 5.6.2.1
Any news on this topic? Should I create an entry in the bug tracker? Or have you done so already?
Thanks, Pascal
EDIT: If you haven't made any other changes to your header file I can just use a copy from the theme to do this. Just let me know...
Thanks for your quick response.
I put this in the header of the page just for illustration purposes. The real problem is on a real website of my customer for whom I've build a custom theme. He needs these layouts in several areas of his site. And the column count can differ as well.
So it's important that he has this flexibility that layouts offer. Only the erroneous spacing kind of ruins the overall look.
Shall I create a bug entry for this?
Pascal.
https://www.youtube.com/watch?v=DuDae7CoTd0...
Till then, perhaps use a table in a content block if all you're doing is spacing images out.
Hope that helps..