Margins
Closed this issue · 2 comments
azamsharp commented
How can I set the margins of the text inside the Button? text-offset does nothing right now!
tombenner commented
text-offset isn't supported by NUIButtonRenderer yet (here's what is supported). If you see a way to add support, definitely feel free to shoot me a pull request!
tombenner commented
Good news: this is now supported in the newest version of NUI via the padding
property of Button. Its values are formatted like CSS's padding values but without the px
. See Box
in Style Value Types for details.
(You'll want to read the new Installation instructions and migration notes when installing the new version.)