×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    9

    Any way to rotate a button?

    Hello everyone! I've seen several posts about rotating images. But is there any way to display rotated button in LWUIT? 90/270 degrees would be enough.

    Thanks in advance for any tip!
    Last edited by elgris; 2013-07-11 at 08:11.

  2. #2
    Registered User
    Join Date
    Apr 2013
    Posts
    9

    Re: Any way to rotate a button?

    Thanks a lot! Will try this.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    686

    Re: Any way to rotate a button?

    There isnt a build-in way to rotate a button or any other component for that matter however you can easily extend any components you want to include such functionality
    look at my article http://www.developer.nokia.com/Commu...s_on_Series_40 where i show how to extend lwuit and create a new vertical (90 degrees rotated) Label

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    686

    Re: Any way to rotate a button?

    Your welcome,
    the forum times are funny right now, it shows you commented back to me before i even posted my answer lol

  5. #5
    Registered User
    Join Date
    Apr 2013
    Posts
    9

    Re: Any way to rotate a button?

    Yeah... My guess is we live in different timezones. And forum sets our local time into messages =\ weird =)

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Any way to rotate a button?

    elgris, the latest phones have the Nokia Orientation API which has to be enabled first. Because that rotates the buttons the way you are looking for.

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    686

    Re: Any way to rotate a button?

    Traud: i dont think that is what he looked for at all, the Rotation api is for rotating the entire display layout, he wanted to rotate a single lwuit component.

Similar Threads

  1. use Call Button( Green key) and End Button (Red key) in my VOIP Application
    By nishadamit09@gmail.com in forum Symbian User Interface
    Replies: 12
    Last Post: 2011-10-04, 07:30
  2. How to make Play / Stop button and Record button
    By Kaz32 in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-04-24, 05:13

Posting Permissions

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