Re: Non-square (triangular) views
Re: Non-square (triangular) views
- Subject: Re: Non-square (triangular) views
- From: Ricky Sharp <email@hidden>
- Date: Sat, 18 Nov 2006 09:03:53 -0600
On Nov 18, 2006, at 7:10 AM, leenoori wrote:
El 18/11/2006, a las 2:59, Rosyna escribió:
Such as? The NSButton objects often overlap (it's frame is much
larger than is shown). Yet there are no issues.
Actually, I think this could be better settled if someone could
show a case of overlapping views becoming a problem having an
issue rather than people quoting documentation other people are
misreading.
If an Apple employee with access to the source code (Scott Anguish)
tells me that overlapping views are not supported or recommended,
that's good enough for me.
Exactly. And, while I no longer have the code or nibs, I have indeed
had issues with overlapping views.
For a custom UI, I attempted to do once do this:
(*) Choice A
[ ] abc
[ ] xyz
( ) Choice B
[field]
Here, I had a custom radio button set (NSMatrix subclass). Directly
on top of (i.e. not a subview of), I sandwiched in two checkboxes and
an edit field.
The UI I wanted was to basically have a radio button control the
enabled state of its 'child' controls.
I have long since changed this to:
(*) Choice A
( ) Choice B
<tabless tab view containing child controls>
where the radio button pair now doesn't overlap at all. The selected
radio button selects the appropriate tab view's tab (thus showing the
controls for a particular choice).
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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