[info-mcl] Tab views
Terje Norderhaug
terje at in-progress.com
Sat Sep 6 20:12:57 CDT 2008
On Sep 6, 2008, at 5:09 PM, Octav Popescu wrote:
> That's much better, it doesn't crash anymore, but the look is not
> quite good. See in the first attached capture what the example in
> multi-pane-view looks like. Seems to me like the top and bottom
> lines of the tab view are reversed.
This might be possible to fix through the orientation argument to
#_HiThemeDrawTabPane, substituting #$kHIThemeOrientationNormal with #
$kHIThemeOrientationInverted. Let me know how it works out.
> More important, this is not the standard tab aspect in OS X 10.5.
> You can see in the second capture what they look like in one of the
> System Preferences panes. Any chance to make it look that way? I
> don't know if that look is available in Carbon though. Here's the
> HIG page that talks about it:
>
> http://developer.apple.com/DOCUMENTATION/UserExperience/Conceptual/
> AppleHIGuidelines/XHIGControls/chapter_19_section_7.html
The style of the tabs can be controlled through the :version
attribute of the :HIThemeTabDrawInfo record passed to
#_HiThemeDrawTextBox as inDrawInfo. Setting :version to 1 makes the
tabs appear as segmented controls (modern appearance) while
a :version of 0 produces traditional tabs (legacy appearance). The
clipping or size of the tab view will have to be changed to make
segmented controls fit.
-- Terje
More information about the info-mcl
mailing list