octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53805] doc: some default Qt properties are di


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53805] doc: some default Qt properties are different between systems
Date: Sun, 6 May 2018 21:09:34 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #10, bug #53805 (project octave):

Which graphics toolkit did you test with?

As part of the '__init_qt__' function, it is supposed to use the Qt theme
palette to override various default color properties. Look for 'root.set' in
libgui/graphics/__init_qt__.cc.

With octave-cli I get


>> get (groot, "DefaultuicontrolBackgroundColor")
ans =

   1   1   1



but with octave-gui I get


>> get (groot, "DefaultuicontrolBackgroundColor")
ans =

   0.93725   0.93725   0.93725



This is the code I found when I was looking for a cause for the differences
between various color properties on two different systems. I have not tested,
but I assume that these colors pulled from Qt can vary depending on the user's
desktop environment or theme. For example, mine is a very light gray, while
yours (at least the one in octave.pdf) is a dark slate gray.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53805>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]