Reputation: 292
Label on the push button is "Choose Something That Has a Long Name". But as you can see it does not fit. I want to make it wrap content somehow. ( can be in 2 rows) How can I do it?
Button
Property Palette
Property Palette...
Upvotes: 0
Views: 813
Reputation: 143103
Create a PRE-FORM
trigger and put something like this in there:
set_item_property('btn_so',label,'This is a very long label'||chr(10)||'which does not fit');
As you can resize the button (simply by dragging its resize handler on the canvas, you can adjust button's width & height so that that very long label fits.
Upvotes: 3
Reputation: 2129
You can do this by setting it dynamically with a CHR(10)
or CHR(13)
in between
Upvotes: 0