You Are Here:

Community: Developer Discussion Boards

#1 Old StringItem text break when it should not - 2007-10-24, 12:17

Join Date: Dec 2006
Posts: 5
samwize
Offline
Registered User
When i append a StringItem as a hyperlink type, the text is not displayed correctly on a Nokia 6280, Series 40. The text break even when the whole text would not occupy the full width of the screen. For the code below, the text 'ABCDEFGHIJKL' will break into 'ABCDEFGHI' and 'JKL'. Example:

ABCDEFGHI
JKL

Code:
StringItem si = new StringItem("", "ABCDEFGHIJKL", Item.HYPERLINK);
si.setDefaultCommand(cmd);
si.setLayout(Item.LAYOUT_NEWLINE_BEFORE|Item.LAYOUT_NEWLINE_AFTER|Item.LAYOUT_2);
si.setItemCommandListener(this);
append(si);
I have tested with other devices such as Motorola V3x and even Nokia N70. Both display correctly - the text is in a single line. Is this a known bug? Sorry if it is...
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume buttons on Symbian 3rd devices viktor_m General Symbian C++ 40 2009-04-25 09:18
WTK & 7610 Http connection problem wgarnett Other Programming Discussion 关于其他编程技术的讨论 0 2005-12-13 15:06
WTK & 7610 Http connection problem wgarnett Mobile Java General 0 2005-12-13 15:03
Persist text value of user defined option in Enumerated Text Settings List leethomso Symbian User Interface 0 2004-11-24 19:49
C++, adding line break to text file rampe29 General Symbian C++ 2 2002-06-18 07:20

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia