Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > GUI Customization > theming question

theming question
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 29, 2003, 04:44 AM
 
hi all! i am new to this forum... i am not that good in writing english but i'll try to explain all the same:

i am currently working on a theme and have some problems. is there a way to make the space for the widgets (close, minimize, zoom) bigger? or put them closer together? see pictures below if you dont know what i mean:

thats how it should look:
good...

and thats how it does...
bad...

plz help me!

=/
     
Mac Elite
Join Date: Jul 2002
Location: Montreal, Qc
Status: Offline
Reply With Quote
Jan 29, 2003, 10:14 AM
 
Originally posted by hEll9k:
hi all! i am new to this forum... i am not that good in writing english but i'll try to explain all the same:

i am currently working on a theme and have some problems. is there a way to make the space for the widgets (close, minimize, zoom) bigger? or put them closer together? see pictures below if you dont know what i mean:

thats how it should look:
good...

and thats how it does...
bad...

plz help me!

=/
I think that to achieve what you want to achieve, you must first modify the titlebar layout. Either use the Extras.rsrc from the AlumiteX theme( http://www.desktopper.net/izawa/) or copy its layo into a copy of the Aqua Extras.rsrc . Hope that answers your question; if not, then some more competent themer will surely help you out.


Data Bytes Computers - Montreal, QC
Ventes & Services / Sales & Services
     
Grizzled Veteran
Join Date: Sep 2002
Location: Canada
Status: Offline
Reply With Quote
Jan 29, 2003, 10:18 AM
 
You can shuffle the widgets wihin their confines (left or right, up or down a few pixels), but they all have to reside in exactly the same relative position (don't shuffle the closebox 2 pixels to the left and the collapsebox only 1, for instance). Unless all widgets take up the same space in their respective resource as all the other widgets, things get funky (especially in Cocoa apps). One way around this is to insist that your users 'metalfize' all Cocoa applications using Unsanity's Metalfizer - that way Cocoa applications will call on the Metal Window Widgets (but there again, all of your metal window widgets must reside in the same relative position to each other or things get nasty). Yeah, it sucks - but that's unsupported theming for ya'... skinning Aqua dives me freaking nuts too
     
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Jan 29, 2003, 05:58 PM
 
To actually move the widgets around, you need to change the 'layo' resource. However, Cocoa apps ignore the values in the 'layo' resource, so this won't get you very far.

Bummer, too.
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
Mac Enthusiast
Join Date: Sep 2001
Location: C'dale, IL
Status: Offline
Reply With Quote
Jan 29, 2003, 06:28 PM
 
Modifying the Layo is not what you need to do... there is a simpler solution. You need to fix PXM#2004 -- the titlebar image. Your problem (as far as I can tell) is that you did not center your left and right endcaps right .... if you look at it, you can see that the right edge of your left endcap (the widget cap) is being drawn on the left edge of the right endcap (the toolbar endcap). Lets say, for example, that your widget cap needs to be 80 pixels wide... this means your toolbar cap needs to be exactly 80 pixels wide as well, so that when you peice your endcaps together for PXM#2004 it splices them directly down the center... that way your titlebar stretch(PXM#2500) draws directly inbetween the caps correctly.

If you need further explanation feel free to contact me... I hope this helps.

-Carbon


:: Carbon Themes v1.5 ::
     
hEll9k  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 30, 2003, 03:11 AM
 
thanks carbon! that's exactly what the problem was! i didn't know i could change the width of the whole image... see image below for what it looks like in the meantime:

image

and thanks again for your help all!
     
Professional Poster
Join Date: Aug 2002
Location: Floreeda
Status: Offline
Reply With Quote
Jan 30, 2003, 04:10 AM
 
that looks like a very nice theme you're making. cant wait to see more. :)
     
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Jan 30, 2003, 05:09 AM
 
Sorry for the erroneous info! I didn't actually look at your pictures before posting, but even if I had, I wouldn't have known the right answer. So I should probably have just kept quiet...

Anyway, that is a superkewl looking theme. Can't wait to see how it pans out.
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
hEll9k  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 30, 2003, 06:43 AM
 
thanks all for the compliments on the theme... as i only started theming yesterday and didn't do anything like this b4 it'll probably take a while until it is completed. i'll keep posting screenshots of the progress...
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Jan 30, 2003, 07:16 AM
 
Great theme, looks like a very nice theme.
-"I don't believe in God. "
"That doesn't matter. He believes in you."

-"I'm not agnostic. Just nonpartisan. Theological Switzerland, that's me."
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:24 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2