alejandroautalan / pygubu

A simple GUI builder for the python tkinter module
MIT License
2.02k stars 212 forks source link

widget parameter to set linewidth in canvas #286

Closed BloodyRain2k closed 1 year ago

BloodyRain2k commented 1 year ago

This change is intended to make the cell border better visible. I've tested the linewidth setting from 1 to 4 and made the needed changes so it looks good with all those different widths.

I've also done minor changes to the default colors so they also offer better viewability. The old default for "marked" with blue text on white background was near invisible to normal black text on white.

Another change is also to use different border colors for certain cases to offer more visual information, for example using the "marked" cell border for a "selected" day (unless it's also hovered) so it's visible that it's both, selected and marked.

This what this looks like with the default settings: The 26th is "today", the 2nd is "selected" and "marked", the 3rd is just "marked" and the cursor shows the default hovering cellborder. image

alejandroautalan commented 1 year ago

Hello @BloodyRain2k All your changes look great, thanks for supporting pygubu!

Regards Alejandro A.