Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User Loading's Avatar
    Join Date
    Mar 2008
    Posts
    1
    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
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    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 C++
    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 Python
    Replies: 2
    Last Post: 2007-07-01, 08:50
  4. Screen size
    By vishwas_vincy11 in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved