Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index

Hi all,

there exist several icons, where the current chosen color is drawn as color bar on top of the initial icon. The effected icons belong to the following .uno: commands: Color, CharBackColor, Extrusion3DColor, FrameLineColor, XLineColor, FillColor, FrameLineColor, FontColor, BackColor, and BackgroundColor.

While I'm working on I come across some general problems:

(a) In the place, where this is calculated, the size of the icon is known, but not the icon-theme. (b) The size of the large icons is different for the themes, and sometimes different inside a theme (the later I consider an error of the theme). Small icons are all 16 pixel. But for large icons we have:
22 pixel: (crystal), oxygen
24 pixel: breeze, (elementary), (human), (industrial), sifr, tango
26 pixel: galaxy, highcontrast
(c) The ranges for the color bar in the initial icon and in the update are different. Main problems: The position of the updated color area is off by one compared with the initial area.
The initial area is 1 pixel right and left smaller than the updated area.
Some color bars are not bottom aligned.

I would like to unify the color bar in this way:
(1) Calculate the height of the color bar as icon-height/4, rounded down. (as current implementation) This results in:
icon 16 pixel height -> color bar height 4 pixel
icon 22 pixel height -> color bar height 5 pixel
icon 24 pixel height -> color bar height 6 pixel
icon 26 pixel height -> color bar height 6 pixel

(2) Make all color bars as wide as the icon (as current implementation).

(3) Position the color bar so, that it aligns with the bottom of the icon. (new)

Do you agree with this approach?

If yes, then I would like to adapt the existing icons in case some parts of the initial icon would be visible, as in the mentioned issue tdf#84985. Do you agree?

Kind regards

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.