Skip to content

setLookAndFeel on page 240 #8

@caspar000

Description

@caspar000

On page 240, when setting the look and feel with the following command:

setLookAndFeel(RotaryKnobLookAndFeel::get());

I was setting it at the top of the constructor, which changed the label, but did not change the slider textbox text color. One of the AI tools suggested I set the slider look and feel separately with slider.setLookAndFeel(RotaryKnobLookAndFeel::get());, which fixed the issue, but I later realized I could call setLookAndFeel in the bottom of the constructor which would set it for all children.

If anybody was confused with this just letting them know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions