Re: Colors in Options

Ariel Constenla-Haile <[email protected]>
Newsgroups gmane.comp.openoffice.questions
Message-ID <20110915213626.GA9234__39300.0965509147$1316459993$gmane$org@localhost>
Hello Eustace,

On Wed, Sep 14, 2011 at 01:44:39AM -0400, Eustace wrote:
> 2 questions on colors:
> 
> (1) In the Options > OpenOffice.org > Appearance > Custom colors,
> some elements have a check box in front and other do not have one.
> What's the difference? 

You can see the difference with the following example:

* create a new text document
* select Tools - Options - OpenOffice.org - Appearance
* in the General category, change the Text boundaries options as
* follows:
** change the color setting from Automatic to Blue
* press Ok to confirm your changes

Now, back to the text document, the text boundaries are blue.

Then go back to the Tools - Options dialog, and uncheck the check box in front of
the Text boundaries option.
Confirm your changes.
Back to the document, it has NO text boundaries, because unchecking that
options turns them off.

Go back to the Tools - Options dialog, check that option again, and text
boundaries are blue again.

> Does unchecking an element that you have
> changed makes the color setting automatic? 

no unchecking an element turns the setting off (that's the meaning of
that column "On", checking turns the element on, uncheching turns it
off).

> In that case, if an
> element is set to automatic, it shouldn't matter if the checkbox is
> checked or not, right?

No. If the element color is set to automatic, but the element is off (=
unchecked), the element won't be displayed: 
* if text boundaries are off, no text boundaries are displayed
* if Field shading is off, fields won't be highlighted with a color shade
* etc.
 
> (2) Since I use white on blue color scheme in my system, the title
> lines in the same dialog (eg. General, Text Document, HTML Document)
> have a gray background (132, 132, 132) which makes the white text
> difficult to read. What is the element that I should change to make
> the title line background darker?


Looking at the code
http://hg.services.openoffice.org/OOO340/file/12fa3ee3d107/cui/source/options/optcolor.cxx#l847
it seems the background color of the categories is hard-coded to
COL_LIGHTGRAY, that is
http://hg.services.openoffice.org/OOO340/file/12fa3ee3d107/tools/inc/tools/color.hxx#l72
RGB( 0xC0, 0xC0, 0xC0) in hex, or (192, 192, 192) in decimal (I have no idea why it
gives you 132, 132, 132).

So the answer is no, you can't change that. You'll have to submit a bug
report.


Finally, please notice that OpenOffice.org is now a project incubating
at Apache, and this mailing list may soon be shut down, so you should
subscribe to the new mailing list at Apache:

To subscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOcm/aAAoJEMjP1bm45QNWz4kP/1seoDFuvmC2C5h590KjqOm0
MzSqWKThfOpAR+7WMJfzgFmr9XbQ7BMPLAxKX+EMNYmYAJV8A7JplmmR0grFCum5
8IysViWVVzrkPpjT2aV8BjnQgD1ZXEGoLGtanpuz1VU2tpjkqhGvjOM3sTx1zXwk
gPbP3H9VYLyrLfwFu7Birj9YB1986DnNnjJXGGflem9c/e3cTQQ+aY06IIRKdT23
W97U/M67T/QlF3eeVWa4mr7eYULfMZwJrymKgYRT34g64ELFNEA5KtVKzk0Ph0Xb
IIvWwzEEusFhXhLe2mgJrWuPbVhLduGxu+47FucaQir24G70GXibOfmhQJjZRmU2
ojIsA76vGO9pbo3fWqSI5D7glAc3H91vZTS5LkLuYdN8W2DzZ1tiPh9Cf5vtIzD6
v7yry2jkSbmrCXGQvxuUQ5EW4iLVbU90xRZhWSbIu8GSr/a6MNU2YTC9urg57GBS
BnUPhPlpe53sgEG57Ji+qSXAvsOQeZn9cf30gtmrS10yrd7bx9DLKXuM3zQ6C8tS
rbQN9qdowcDvb+MFqNqDAPVz2YrUPAsEcSi2jUE/8lJbOrnU9mzCi5gAFAqLs0p0
sM2hfbzZ/PPatCo3bh/IT9HxW99x2pDmj4VpzoYv13OwVke1QCZmiyAjLJYZIbzC
2SN3zPE2rUoXbC6ezFmw
=/jsT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.