How to control the width of the window popup_menu.
Hello,
How to increase the width of the window created by the command:
appuifw.popup_menu (list [, label])
From what I saw the window displays up to 25 characters.
And so if the "label", or some element of the "list" is longer than 25 characters it is cut.
Thanks,
Markos
Re: How to control the width of the window popup_menu.
Why do you need to show so many characters. After all,the width of phone screen is limited.
Maybe you can modify the appuifw module with carbide c++ to solve it.
Re: How to control the width of the window popup_menu.
Dear,
Is there any other simpler way?
I know very little about C.
I never studied C++.
And I'm learning python now.
Would not have a way to force the jump line for phrases with more than 25 characters?
Thank you,
Markos
Re: How to control the width of the window popup_menu.
Ok,try following code.
[code]import appuifw
items = [(u"aaaaaaaaaaaa",u"aaaaaaaaaaaaa"),(u"bbbbbbbbbbbb",u"bbbbbbbbbbbbb"),(u"cccccccccccc",u"ccccccccccccc")]
appuifw.popup_menu(items,u"DoublePopupMenuStyle")[/code]
plus: I am Chinese. Can you tell me what "Markos" means? Thanks.:)
Re: How to control the width of the window popup_menu.
Thanks for the tip
In Portuguese my name is written as "Marcos". But I use "Markos" because of Esperanto.
The letter "k" of Markos in Esperanto, has the same sound of the letter "c" of Marcos in Portuguese.
I confess I didn't know the meaning of my name but searching on Google I found at:
[url]http://www.thinkbabynames.com/meaning/1/Markos[/url]
That the meaning of Markos is "dedicated to Mars" in Latin.
Thanks for your attention.
Markos