Bug #16049
closedwrong column-width with noRows-Option
0%
Description
The colums in a multiple-column imageelement are shifted when the noRows-Option is active and the pictures are centered, because the width of the outer wrapper-div is smaller than the sum of the column-widths.
For example:
an Image-Element width 3 columns, width 180, noRows, centered, 10px margin, 1px-Border.
The outter wrapper-width ist correct: 566 = 180x3 +20 + 6
The colum-wrapper is wrong: 204
204*3 > 566 => last column is shifted below.
The Image-width is correct: 180px
The column-widths are wrong calculated too, when the userdefined image-width is smaller than the max possible column-width. The column-widths are based on the max-possible column-width and not on the maximal width of the calculated images.
This doesnt happen in 3.9beta and occurs in 4.0.
(issue imported from #M3258)
Files
Updated by Ernesto Baschny over 18 years ago
@helden:
could you please test the patch that is attached to your bug report to see if this solves the problem? Patch should apply to 4.0.
If you give me a positive feedback, I'll discuss the change with the core-team.
Thanks!
Updated by Administrator Admin over 18 years ago
@Ernesto:
Your patch solved only the first problem, that helden described. I propose a patch bug-3258_a.diff, that seems to solve both problems at once.
Stefan
Updated by Ernesto Baschny over 18 years ago
Fixed in 4.0.1.
Commited to CVS (trunk and TYPO3-4_0)