×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    35

    CEikRichTextEditor last line is shown only partially

    Hi,
    the last line of the screen is shown only partially editor is made with CEikRichTextEditor. Changing the display rect size(hard coded) can correct problem in one font and for certain display size, but it doesn't work anymore if you want to use different font.

    So CEikRichTextEditor seems not to calculate needed rows right depending font size and display rect.

    Does anybody know how we could set the CEikRichTextEditor NumberOfLines one less?

    Thanks,

  2. #2
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: CEikRichTextEditor last line is shown only partially

    Additional note: The specific bug we're talking about is bug 1463647 of Python for S60:

    http://sourceforge.net/tracker/index...55&atid=790646

    You can download the PyS60 source code from the same place, in case you want to take a look at it. The Text widget is created in src/appui/appuifw/appuifwmodule.cpp, and the container class for it is in src/appui/Container.cpp.

    We can make an ad hoc hack that sets the size of the Text widget into an integral multiple of the font size, but that is an imperfect solution since the font size can be changed dynamically and indeed there can even be several fonts in use at the same time.

    We're basically stuck with this bug, so if you could give us any pointers or ideas to try, that would be great. Thanks.

  3. #3
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: CEikRichTextEditor last line is shown only partially

    We finally found a solution to this bug! The fix will be released in 1.3.19.

Similar Threads

  1. carbide build problem help please
    By berkcekisbas in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-09-26, 19:41
  2. problem with Code Warrior 5.2
    By mayankkedia in forum Symbian C++
    Replies: 4
    Last Post: 2006-06-22, 08:26
  3. My BuilderX (with S60 SDK 2.1.NET MS version) cannot build ARMI UREL
    By danielvidonyi@hotmail.com in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-05-04, 21:30
  4. Carbide.c++ Express don't want build HelloWorld
    By azarov-it in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 7
    Last Post: 2006-04-09, 11:00
  5. problem with codewarrior 5.2
    By mayankkedia in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2004-09-27, 16:08

Posting Permissions

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