-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed Corner Radius Issue with InkToolbar Custom Tool Button #6724
Conversation
Height="{StaticResource InkToolbarButtonHeight}"> | ||
|
||
Height="{StaticResource InkToolbarButtonHeight}" | ||
contract7Present:CornerRadius="{TemplateBinding CornerRadius}" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! could you please also add
contract7NotPresent:CornerRadius="{ThemeResource ControlCornerRadius}"
like you can see here:
contract7NotPresent:CornerRadius="{ThemeResource ControlCornerRadius}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Stephen, I did not add 'contract7NotPresent' because I did not find it on any other style/template in the file InkToolbar_themeresources.xaml. If it has to be added then I think we should add this to other styles/templates in this file as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, I think that is an oversight, however we can save it for a later update.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Description
Corner Radius property was missing on the InkToolbarCustomToolButton Style. I have just added a Corner Radius property on the Root Grid of the button. It was already available for other buttons in toolbar but not for CustomToolButton.
Motivation and Context
It was was causing the Custom Tool Buttons to have sharp corner and was not aligning with the rest of the buttons.
Partially fixes Ticket 5844
How Has This Been Tested?
Tested in local environment. Screenshot attached.
Screenshots (if appropriate):