Skip to content

setLookAndFeel on page 240 #8

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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