In VB.Net, when using a CheckBox with a Button appearance, how can you
truly center-align the text?
I'm using three CheckBoxes in a VB.Net program that are designed to look
like Buttons. I want to center-align the text on these CheckBoxes, so that
it is always perfectly in the center of the CheckBox. So I tried setting
the TextAlign property to MiddleCenter, but that didn't exactly work:
These are not truly center-aligned; they're basically right-aligned
against some sort of invisible wall that's close to the center. Messing
with the CheckAlign property doesn't seem to have any impact. It may be
worth mentioning that those five buttons above are actually RadioButtons,
and they didn't have this problem.
How can this issue be corrected? Thanks!
No comments:
Post a Comment