Hello, ill keep this short.
If I do this…
<Button> <RelativePanel> ... </RelativePanel> </Button>
With a Glyph and Text, instead of glyph/text clipping at the edge of the Relative Panel (any panel i use inside the button really) they will Clip a few pixels before so I can't put anything close to the edge of a button as it's cut off.
Is there a better way of doing this? What's even causing this clipping? I want a Button like the ones in ActionCenter where a Glyph is at the top left and text and the bottom left, but first I need to figure out how to get around this odd clipping as by default the Button only allows one item, but I want more than one on it.
If the button is 80 and the panel is 80, it will clip at something like 60 and I can't put anything at the remaining 20, I've seen a lot of these odd clippings in other Apps, what is this invisible border? My google skills failed me, I couldn't really find anything so here im asking. I would really like to know why this is happening and how to avoid it.
by Incorr via /r/csharp