Skip to content

Problem with button_hover_color not working in CTkMessagebox buttons when used on Macintosh platform. #76

@appletechnician

Description

@appletechnician

Problem with the hover color not working for CTkMessagebox buttons on Macintosh platform.

It works as expected on Windows systems.

Relevant example code:

self.close_blank=CTkMessagebox(title='',
message=f"Error. The new username field cannot be blank during submission.\n\nPlease enter a valid and unique username and then submit it instead.",
icon='images/Warning.png',
font=('Cooper Std Black', round(24*(self.font_ratio))),
width=600,
height=400,
button_color='blue2',
option_1='OK',
option_focus=1,
topmost=True,
sound=True,
button_width=90,
button_height=60,
corner_radius=30,
button_hover_color='SteelBlue1',
bg_color='forest green')

Any idea why the code above fails on Macintosh computers specifically? Any workaround for it?

Thanks,

Nathan Frey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions