FROM : Yojimbo
DATE : Wed Jan 29 10:30:36 2003
Greetings,
I've been wondering what the best way of adding a bevel to a sub view
in the same way iSync and Safari do.
Putting a bevel in the superview gets overwritten when the view resizes
by the subview and the only solution I've found so far that works
predictable is rather expensive hack. Is there a way to do this in a
single view without losing the flexibility of it having a subview that
doesn't resize (ie. ScrollView etc.)?
My example is just a simple textured window, with a view. There is an
additional content view that is added to that view at runtime. Using
that I can get the bevels showing up, but resizing has the effect I
mentioned above.
Thanks in advance for your help,
Jim
DATE : Wed Jan 29 10:30:36 2003
Greetings,
I've been wondering what the best way of adding a bevel to a sub view
in the same way iSync and Safari do.
Putting a bevel in the superview gets overwritten when the view resizes
by the subview and the only solution I've found so far that works
predictable is rather expensive hack. Is there a way to do this in a
single view without losing the flexibility of it having a subview that
doesn't resize (ie. ScrollView etc.)?
My example is just a simple textured window, with a view. There is an
additional content view that is added to that view at runtime. Using
that I can get the bevels showing up, but resizing has the effect I
mentioned above.
Thanks in advance for your help,
Jim
| Related mails | Author | Date |
|---|---|---|
| Yojimbo | Jan 29, 05:55 | |
| Yojimbo | Jan 29, 10:30 |






Cocoa mail archive

