![]() |
Is there a SizeToContent function? |
Post Reply ![]() |
Author | |
Jadduni ![]() Newbie ![]() Joined: 12 October 2020 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 12 October 2020 at 7:29am |
hello, perhaps I oversee something here. I'm new to the toolkit, playing with the markup enabled buttons. Is there any FitToContent function, that will resize the button to 100% of the markup content? I can see the scaling function on the markup content, but how can I scale the button to fit the markup at 100%. Thanks Didi
|
|
![]() |
|
dbrookes ![]() Groupie ![]() Joined: 30 August 2019 Location: Australia Status: Offline Points: 70 |
![]() ![]() ![]() ![]() ![]() |
You could probably write your own, something like this:
I've done similar things to resize a markup list box window if the item text is too long due to the language changing. With a button though there may be borders to deal with as well? Regards, Daniel.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |