Affects Version/s: 3.9.4
Fix Version/s: 3.9.5
Security Level: Jimmy
1. run 1338-overflow-right-align.zul
2. select the "freeze" sheet
3. check the merged cell A10:D10
render a text at wrong position
zss should shift the text right a bit on the left frozen columns
- no such issue with 3.9.2
For a merged cell across frozen columns, .zsfzleft doesn't contains its complete DOM, some cells are in the .zsscroll. So the current implementation shifts a text in a wrong position.
when a text width is longer than a cell inner width (without padding), we need to shift the text to left.
We can determine a (merged/not merged) cell's inner width by jq(this.$n()).width(). .zsmergeID determines the merged width.
If we set width on .zscelltxt, it will override the width in .zsmergeID and can't shift a text correctly.