×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    3

    borders on fillRects

    Hi,

    Problem on Nokia phones drawing rectangles:

    I have noticed after calling fillRoundRect, any subsequent calls to fillRect (not rounded) get a white border added to them. Is there a fix for this?

    Thanks
    Phill

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    4

    Re: borders on fillRects

    Hi Phill_g,

    I have no idea why is this happening, but I know that the fillRoundRect color will appear in the fillRect. So a funny hack would be to draw a fillRoundRect out of the canvas with same color of the fillRect you want to draw.

    I works for me

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    13

    Thumbs up Re: borders on fillRects

    I experienced the same on a Nokia 6110. Calling

    g.fillRoundRect(-10, -10, 1, 1, 0, 0);

    before g.fillRect does 'fix' this indeed. Thanks !!

  4. #4
    Registered User
    Join Date
    Feb 2009
    Posts
    8

    Re: borders on fillRects

    Hi,
    I have the same problem on E60 and 5610.
    another bypass method is calling drawString with some visible text out of view port


    Quote Originally Posted by drdth View Post
    I experienced the same on a Nokia 6110. Calling

    g.fillRoundRect(-10, -10, 1, 1, 0, 0);

    before g.fillRect does 'fix' this indeed. Thanks !!

Similar Threads

  1. Borders do not appear!
    By caglarkumanli in forum Symbian User Interface
    Replies: 6
    Last Post: 2006-08-16, 14:32
  2. borders
    By nicholasgaye in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-04-20, 04:10
  3. Table Row Borders Clickable
    By stanfu in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2004-06-22, 12:24
  4. CEikEdwin borders and TAknLayoutRect
    By ayulo in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-09-26, 10:15
  5. EikEdwin borders problem
    By vlad_master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-06-12, 14:45

Posting Permissions

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