Issue 122446

Summary: [sidebar] paragraph spacing increase and decrease have wrong icon
Product: General Reporter: Regina Henschel <rb.henschel>
Component: uiAssignee: Andre <awf.aoo>
Status: RESOLVED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: awf.aoo, issues
Version: 4.0.0-dev   
Target Milestone: 4.0.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121420    

Description Regina Henschel 2013-06-03 22:17:10 UTC
Look at the icons, which are directly under the word "Spacing:" in the Paragraph panel.
The icons show an increase/decrease between the lines of a paragraph. But the action of the buttons is to increase/decrease the space before and after the current paragraph. A proper icon would be sc_paraspaceincrease.png and sc_paraspacedecrease.png from default_images\res\commandimagelist. These are already used in the "Text formatting" toolbar in Draw/Impress for the very same action.
Comment 1 Andre 2013-06-04 16:22:49 UTC
I personally can distinguish the currently used icons better than those for ParaspaceIncrease and -Decrease.  But we should try to use AOO icons wherever possible.  Therefore I will exchange the icons.
Comment 2 SVN Robot 2013-06-04 16:29:33 UTC
"af" committed SVN revision 1489501 into trunk:
122446: Use different icons in Paragraph panel for increasing or decreasing i...
Comment 3 SVN Robot 2013-06-04 16:29:36 UTC
"af" committed SVN revision 1489504 into trunk:
122446: Removed unused icons.
Comment 4 Andre 2013-06-04 16:31:54 UTC
Removed the now unused Symphony icons and replaced them with those used for the ParaspaceIncrease and ParaspaceDecrease commands.  There is one problem.  The two commands are defined in DrawImpressCommands.xcu but not in GenericCommands.xcu.  Because of this the icons can not be loaded like most other icons that are defined for UNO commands.  I don't want to move the commands to GenericCommands.xcu so shortly before a release.  That may be a trivial change, or it could introduce subtle errors.  Instead I use the special private:graphicrepository syntax to access the icons.  The downside of this is that I have to use the Command field of the ToolBoxItem to transpart the icon URLs from resource file to implementation.  Not pretty but it works.
Comment 5 SVN Robot 2013-06-05 07:26:56 UTC
"af" committed SVN revision 1489726 into trunk:
122446: Fixed typo.