Issue 98019

Summary: Spacing to contents works in a mess when editting cells and show contents
Product: Calc Reporter: amy2008 <amy2008>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, ooo.redflag, peter.junge
Version: DEV300m37   
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 84292    

Description amy2008 2009-01-13 08:58:39 UTC
The following is just my suggest, pls check it.

Can reproduce it with DEV300m37 on WinXP and Fedora

How to reproduce it
1 Open a new Clac document
2 Select any cell in the file, like *A1
3 Format - Cells, 'Format Cells' dialog opens, switch to 'Borders' Tab, set a
  number to 'Left' of 'Spacing to contents', e.g. 30mm. Meanwhile, make sure
  check 'Synchronize', OK
4 Double_click to edit A1
5 Double_click to edit A1 and enter some characters, e.g. '123456', set cursor
  another cell except A1

At step 4, after double_click A1 and enter editing mode, pls pay attention to 
cursor's location, its left spacing is about 30mm, its top spacing is 0mm, it 
bottom spacing is about 60mm;
After step 5, the characters '123456' are shown in cell A1, but characters's 
showing spacing is inconsistent with the settings on the 'Format Cells' dialog.

At step 4, in editting mode, just set cursor on the left top of the cell, 
shouldn't use the Left or bottom spacing
After step5, can adjust the cell's width to meet with the 'Spacing to contents'

Li Meiying