Re: [iPhone] Custom UIView like in iPhone Messages App
Re: [iPhone] Custom UIView like in iPhone Messages App
- Subject: Re: [iPhone] Custom UIView like in iPhone Messages App
- From: Luke Hiesterman <email@hidden>
- Date: Sun, 08 Nov 2009 11:06:21 -0800
Sounds like your main problem is not using a background that looks
good with scaling. I suggest a new background.
Luke
Sent from my iPhone.
On Nov 7, 2009, at 11:53 PM, Tharindu Madushanka
<email@hidden> wrote:
Hi
I have been currently doing something like this.
In my chat view I have a scroll view and my text field is always with
keyboard open. I keep two variables to scale the scroll view content
size as
the chat messages height get increased over time. So I set the
content size
bigger if the messages are getting bigger.
And then I have been trying to implement a custom UIView that has a
label
and image view in it. by getting the font size I can scale the label
to
multiple lines. And when its multiple lines the image is little bit
scaled
so it does not look that nice.
Have you used multiple images to do this ? I mean say for a small
message
different background image and for a very long message another. Or
what
could be the best size of a background balloon image to get ?
And I could have done something like what you proposed for this :(
Tharindu Madushanka
tharindufit.wordpress.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden