C
C#2y ago
Codsworth

❔ How to set a borders correctly ?

I need a button to have a shadow , looks like only way to do that is to use <border> element but border element stretches to all canvas
4 Replies
Codsworth
Codsworth2y ago
<Border Margin="0,10,0,0" Classes="borderHouButton">
<Button Classes="houButton" Content="Zeta">
</Button>
</Border>
<Border Margin="0,10,0,0" Classes="borderHouButton">
<Button Classes="houButton" Content="Zeta">
</Button>
</Border>
but it does that stretching
Codsworth
Codsworth2y ago
Codsworth
Codsworth2y ago
how to make border to be a size of a button ?
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.