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