×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    12

    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

  2. #2
    Registered User
    Join Date
    Dec 2012
    Posts
    4

    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.

  3. #3
    Registered User
    Join Date
    Dec 2012
    Posts
    12

    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

  4. #4
    Registered User
    Join Date
    Dec 2012
    Posts
    4

    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")
    plus: I am Chinese. Can you tell me what "Markos" means? Thanks.
    Last edited by gameloftyou; 2013-01-02 at 05:50.

  5. #5
    Registered User
    Join Date
    Dec 2012
    Posts
    12

    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:

    http://www.thinkbabynames.com/meaning/1/Markos

    That the meaning of Markos is "dedicated to Mars" in Latin.

    Thanks for your attention.
    Markos

Similar Threads

  1. Replies: 0
    Last Post: 2008-12-28, 16:00
  2. how to get the width and height of a control
    By curiouswalker in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-10-12, 13:31
  3. control/window visibility
    By tektronic in forum Symbian C++
    Replies: 2
    Last Post: 2008-01-04, 22:46
  4. Replies: 1
    Last Post: 2004-11-22, 04:41
  5. Non Window Owning Control that is not a component control of the View
    By sriram_y64 in forum Symbian User Interface
    Replies: 3
    Last Post: 2003-12-03, 06:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •