Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

2 line SUI Button

Guru ,
Mar 07, 2012 Mar 07, 2012

Is the a way of haveing 2 lines of text in a button?

myButton = w.add ("button", [10,65,110,155], "Two\rLines")

Does not work.

TOPICS
Scripting
909
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 07, 2012 Mar 07, 2012

It works fine for me, on a Mac. What OS?

Did you try \n instead of \r?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 07, 2012 Mar 07, 2012

Thanks John

Windows 7


I had tried \n, also didn't work

I also tried palette and dialog type windows

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 08, 2012 Mar 08, 2012

Can't get that to work either (on Windows 7). Please file a bug here: http://www.adobe.com/support/feature.html

Peter

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 08, 2012 Mar 08, 2012

Peter thanks for trying,

I just filed the bug report upon your request.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 09, 2012 Mar 09, 2012
LATEST

The workaround would be to create a png of your two-line button and create the button using your custom png...

Harbs

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines