Outline box around CEikLabel

Login to reply to this topic.
Thu, 2006-03-16 17:39
Joined: 2005-05-19
Forum posts: 45
Does anybody know how to create a CEikLabel with a black box around the text?  I saw Eric's article on CEikLabel and was able to use it to create a label with a white font and red background.  Now I want to put a black outline around the CEikLable rect.

Any advice?

"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein


Thu, 2006-03-16 21:18
Joined: 2004-05-24
Forum posts: 982
Re: Outline box around CEikLabel
I think you can achieve this only by hand in draw method Sad.....but i'm not sure

pirosl

Mon, 2006-03-20 17:26
Joined: 2005-05-19
Forum posts: 45
Re: Outline box around CEikLabel
pirosl - thanks for the reply... looks like you are correct... I was able to draw the box by hand in the draw function of the container.  I guess the next step would be to create a custom control that inherits from CEikLabel that has code to support drawing an outline box.

Anybody know of any commercial library that includes UI widgets for S60.  I have seen RAD products for UIQ... but none for S60.

"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein

Mon, 2006-03-20 17:56
Joined: 2004-05-24
Forum posts: 982
Re: Outline box around CEikLabel
Yep....actually creating a custom control would be a better idea.

pirosl

  • Login to reply to this topic.