Re: Progress TextField as like Safari
Re: Progress TextField as like Safari
- Subject: Re: Progress TextField as like Safari
- From: Lee Morgan <email@hidden>
- Date: Tue, 14 Mar 2006 22:46:06 -0500
You could always just use IB and create a normal progress bar with a
text field using no border placed on top of it.
Sure when the progress bar is set to 0 the back ground is glossy
rather than flat white, but it's fully functional without any code.
And who really cares... it's not like Apple is promoting a single
style GUI anyways.
Honestly... I do care; so this is more of a temporary solution.
You can use just a bit of code to switch the border of the text field
on when the progress bar is on and off when it's off.
But you also have to reposition the text field a little bit when you
switch it's border, in order to get it to fit over the progress bar
correctly.
Just my two cents...
lee a. morgan | satellite, wide-band and telemetry technician | e-
mail | chat | blog
On Mar 14, 2006, at 4:15 AM, malcom wrote:
Is there a public class to replicate the url-address-bar (+ progress
bar) of Safari. I've tried to subclass NSTextField but I need to
redesign all borders, background...is there a better way to do it?
Need I to set [cell setBorderStyle:...] in initWithFrame.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden