Skip to content

fix: Background coloring in textbox when using macOS in dark mode #242

@cadenmyers13

Description

@cadenmyers13

Problem

When in dark mode on macOS, the font color is white. In pdfgui, this causes phase data input (lattice parameters, angles, etc) to appear white-on-white making it impossible to see the inputs unless highlighted over (see images below). This forces the user to switch setting to light mode in order to use pdfgui efficiently (which is annoying).

Screenshot 2025-01-06 at 11 19 30 AM
Screenshot 2025-01-06 at 11 19 43 AM

Proposed solution

Unsure exactly, but this doesn't seem to be an issue when importing datasets. Perhaps use the same or similar code that was used to generate the dataset textboxes for the phase textboxes?

Screenshot 2025-01-10 at 3 51 19 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions