×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2009
    Location
    Dahod
    Posts
    12

    Needing Some kind help in creating a small size button.

    Hi all,
    I am developing some kind of application where i need to put several small size button.
    But i am using
    "inp = new FormButton(null, "Enter");
    inp.addEventListener("ActionPerformed", input);
    mainView.addControl(inp);"
    this script i am getting a large size button.
    but i need go place a 40x40 button only.
    How can i do it.
    Regards,
    Hussain Dhilawala
    B.E(electronics and Communication)

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Needing Some kind help in creating a small size button.

    Hello,

    By looking at the WRT kit sources the button is constructed by using table and divs. The button is fixed to 26px height, so most probably you would have to implement your own custom button object to get the exact look and feel you want. You could use the FormButton (FormButton.js) as a basis and edit it. In addition you should probably edit the related styles defined in UI.css and button graphics as well.

    Br,
    Ilkka

Similar Threads

  1. Creating 3gp cards with good quality and less size
    By anthonypeter in forum Streaming and Video
    Replies: 5
    Last Post: 2008-10-03, 08:11
  2. Replies: 2
    Last Post: 2007-08-24, 12:31
  3. What kind of icon size for N90(352*416)
    By sungodjava in forum Symbian
    Replies: 1
    Last Post: 2006-11-06, 11:52
  4. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 1
    Last Post: 2004-11-16, 10:30
  5. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 0
    Last Post: 2004-11-13, 11:03

Posting Permissions

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