Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2008

    UI element width association with screen size

    Hello, I writting table UI element and I have one of the columns where content string can have maximum 10 character string length. Then I think, about percental element width, I realise that there might be several problems with it.

    If I design for smallest screen possible, the width of string "1234567890" may be around 50 pixels and take 40% of screen width (for 128x96 screens). When displayed on screen with 640px width, the same element will take 290 px space, but the "1234567890" will take not more that 200px using the default font. Thus presious 90px are wasted.
    And if I design for the big enough screen and hard-code it's percentage, the string may just not fit in the dedicated space on small screens..

    Are there any cons of percentage based element widths or other approaches to UI element width calculations ?

    I'm looking forward to your comments and ideas!
    Thank you!

  2. #2
    Super Contributor
    Join Date
    Apr 2007

    Re: UI element width association with screen size

    u could play with Font sizes, so depending form the resolution changing the Font size... smaal screens u could setup to use smaller Font so that more data fits in one single column (line)...

Similar Threads

  1. Problem with E90 and secondary screen
    By Tatanka.nbr1 in forum Symbian
    Replies: 5
    Last Post: 2008-06-27, 10:01
  2. Change screen size
    By j2me@com in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2007-08-14, 03:19
  3. How to get screen size?
    By carknue in forum Symbian
    Replies: 2
    Last Post: 2007-07-01, 08:50
  4. Screen size
    By vishwas_vincy11 in forum Symbian
    Replies: 3
    Last Post: 2006-12-07, 17:30
  5. Can change screen size of Noia 6280
    By moose^ in forum General Development Questions
    Replies: 0
    Last Post: 2006-09-12, 09:39

Posting Permissions

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