Closed valimaties closed 2 years ago
Hi @valimaties ,
I see some issues in your PR.
I've prepared quickly a new PR #285 that basically add this feature with less code modifications. Try it and let me know.
Mine works as I expected, I don't know what you are saying about. As it is shown in demo gif, everything works as I expected. But I will try your PR...
I have tried your PR, but it does not do anything! Or you did not understood what FocusVisibility means... Or on my installation simply does not do anything. Please, could you make a gif or something of what you see on those buttons when you press Tab key? I don't see any change on buttons.
Setting this property to
True
will apply a percent of lighting or darker color, based onTheme
used and type of button. It usesControlPaint.Light(Color, percentDarkDark)
orColorPaint.Dark(Color, percentDarkDark)
method. As long as this is abool
property and it is not set inMaterialButton
's constructor, this PR will not affect any project, by default it is false, the buttons will have oldMaterialSkin
approach.This will close #279
Demo: