I tried to use \n to create two lines caption for a button but no success.
So, my question is how to have a two or three or more lines on button caption?

Can Jinhao add a method for the nana::button to accept multiline, like this:

button btn_run(fm, nana::rectangle(50, 320, 90, 45));
btn_run.multi_lines(true);
btn_run.caption("Quit \n this run");

Also, I need to know how to orient text line on button caption, for example +90 degrees or -45 degrees?

I tried to use** \n** to create two lines caption for a button but no success. So, my question is how to have a two or three or more lines on button caption? Can Jinhao add a method for the nana::button to accept multiline, like this: button btn_run(fm, nana::rectangle(50, 320, 90, 45)); btn_run.multi_lines(true); btn_run.caption("Quit \n this run"); Also, I need to know how to orient text line on button caption, for example +90 degrees or -45 degrees?
edited Sep 28 at 8:06 pm

No, it does not work. I believe Mr. Jinhao has to update the nana::button in order to provide multilies option as I mentioned before.

No, it does not work. I believe Mr. Jinhao has to update the nana::button in order to provide multilies option as I mentioned before.
edited Sep 29 at 3:06 pm
35
views
2
replies
2
followers
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft