-
Notifications
You must be signed in to change notification settings - Fork 110
JLabel.setForeground #25
Comments
See SubstanceLookAndFeel.COLORIZATION_FACTOR |
How would I use it? Does it break anything else? |
|
I don't quite understand the question of "break anything else". By choosing to use a look-and-feel you choose to have your entire UI rendered by that look-and-feel. If you want to have some parts of your UI use colors that are different from that look, you're already breaking some visual continuity and consistency. Substance decoration areas and decoration painters allow to maintain such consistency while also delineating and designating certain areas of your app as "special" ones - such as toolbar or footers for example. If you go lower than that and start setting custom foreground / background colors on specific controls, that might indeed create visual disparities. Up to you how far you want to deviate from a Substance skin. |
I thought it was a global option
…On Tue, Apr 18, 2017 at 11:43 PM, Kirill Grouchnikov < ***@***.***> wrote:
I don't quite understand the question of "break anything else".
By choosing to use a look-and-feel you choose to have your entire UI
rendered by that look-and-feel. If you want to have some parts of your UI
use colors that are different from that look, you're already breaking some
visual continuity and consistency.
Substance decoration areas and decoration painters allow to maintain such
consistency while also delineating and designating certain areas of your
app as "special" ones - such as toolbar or footers for example. If you go
lower than that and start setting custom foreground / background colors on
specific controls, that might indeed create visual disparities.
Up to you how far you want to deviate from a Substance skin.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AET6Q55iWFDmxB88y1lAPR8N2TGhjvsgks5rxS5sgaJpZM4MaXTp>
.
|
As I said, see the COLORIZATION_FACTOR and its Javadocs |
Can I still do that? It seems I'm gretting gray labels when Substance is enabled even if I say setForeground(Color.WHITE). Not sure if I'm doing anything wrong.
http://tinybrain.de/1007194
http://tinybrain.de/1007200
With Substance:
Without Substance:
BTW, with some twists (and apart of this bug), I got full-screen finally working well with Substance on Linux and Windows now. If anyone is interested: The magic for that is here.
The text was updated successfully, but these errors were encountered: