question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fuzzy button outline

See original GitHub issue

After the upgrade from 1.1.2.0 to 1.5.0.23, some of the buttons began to look weird-as if blurred along the contour: screenshot_1 On all buttons same style:

<Style x:Key="BtStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource SquareMetroButton}">
    <Setter Property="BorderThickness" Value="1" />
</Style>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
koen-debackercommented, Oct 2, 2017

@punker76 Adding SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" to the Border in the SquareMetroButton-style and adding <Setter Property="SnapsToDevicePixels" Value="True" /> fixes this. (line 990 in Controls.Buttons.xaml)

EDIT: made my first ever PR. Let me know if I did it correctly.

0reactions
Pekshevcommented, Apr 24, 2017

I have old versions =)

Read more comments on GitHub >

github_iconTop Results From Across the Web

css - How to blur the outline of button?
How to blur the outline of button? ... Use box-shadow? ... If you have a plain color background, you can try a drop-shadow...
Read more >
Option to remove fuzzy outline and restore clarity to the ...
I do like the lighter colour of the buttons, but reducing the size of the fuzzy border around the notification, and increasing the...
Read more >
Blurred Borders in CSS
Coding the basic blurred border ... The box specified by background-origin is the box whose top left corner is the 0 0 point...
Read more >
12.6. Fuzzy Border
This filter adds a cool fading border to an image. The border will look jagged and fuzzy, and you can specify color and...
Read more >
How to Create Blurred Outlines in Gimp - YouTube
In this tutorial I'll show you how to create blurred outlines in Gimp. img used: ... Button Press Graphics•1.3K views.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found