VistaStyleBuilder

Help => Windows 7 => Topic started by: charleston2378 on October 23, 2012, 12:47:47 am



Title: Wucltux.dll Update Window Help
Post by: charleston2378 on October 23, 2012, 12:47:47 am
Hi I'm playing with wucltux.dll to make this windows work with any theme dark or light and I need some help.
1- I set the gradient color to:Styles > ControlPanelStyle > ContentPane/fillcolorhint:color...(done)

2-I remove the buttons properties from wucltux.dll and I set this to the theme file like this:background="dtb(button, 1, 2)" padding="rect(20rp,5rp,20rp,5rp)"/>
And change the font color from black to buttontext, but I like to move the buttons some pix to the left and make the line beside them look right not cut like the pic, you will see what I mean.
So I attach the "UIFILE" folder for download to  anyone who wants to help.
I appreciate any help :)

(https://hht0eg.sn2.livefilestore.com/y1pDbOXv1v-p73nV0JpryzneqMDCnQTh0dme5bEaBduLfAXXXeceqR1s0Uk-sL4uzQ1ZAEbmyIO-E3YjWRBTg7scg0LjdTptDrX/wucltux.png?psid=1)


Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 23, 2012, 03:21:43 pm
What are the numbers of the UI files you have done so far and what else were you planning on changing?


Title: Re: Wucltux.dll Update Window Help
Post by: 3am on October 23, 2012, 03:30:55 pm
1) Couldn't move the button. Padding only works inside the button

2) Why not remove the button altogether? In this picture I deleted all button content, put 1rp borderthickness and 4rp padding on the right in UIFILE 124 (which is the only one you have to change). Attached is the UIFILE if you want to check it out.

(http://i632.photobucket.com/albums/uu41/3am_2009/Capture_zps87e37f90.png)


Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 23, 2012, 04:41:39 pm
OK I just added margin="rect(0rp,5rp,0rp,5rp)" on line 335 and 345 and that added some space, not sure if that was all you wanted to do though.


Title: Re: Wucltux.dll Update Window Help
Post by: charleston2378 on October 24, 2012, 01:04:01 pm
Thank you both for the help, as 3am said I couldn't move the button to the left and that was what I wanted.
Guess I'll have to find any other solution (or image) to put there.
Again thank you both for the help.


Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 26, 2012, 08:38:01 am
Not tried this yet but I was just wondering if you remove the right border property from there and add a left border property to the main content window, would that work.


Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 26, 2012, 08:46:01 am
Seems I was able to do it by setting the border to 0 on line 332 and then adding the properties from there to line 329

<element background="themeable(gtc(CONTROLPANELSTYLE,2,0,3821),window)" bordercolor="themeable(gtc(CONTROLPANELSTYLE,17,0,3821),buttonshadow)" borderthickness="rect(0,0,1rp,0)"/>


Title: Re: Wucltux.dll Update Window Help
Post by: Panda X on October 26, 2012, 09:30:05 am
Instead of changing the attributes in the stylesheet you could edit the layout which is much easier:

(http://i.cubeupload.com/oZ975K.png)
(http://i.cubeupload.com/ANaaxC.png)

The element layoutpos left width 0rp removed the padding on the left side so the button would be on edge, and the added padding attribute to atom(categoryTabsArea) pushed it back 5 pixels from the list. So now the space is on the other side.

If you wanted to use the stylesheet for whatever reason you could create something like this in the wuappstyle stylesheet and it should work (though I didn't test it because it's 4:30am):

Code: XML





Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 26, 2012, 11:52:42 am
Very nice Panda, off topic but what are you using to have the tabs on the top of your windows like that?

Edit: It's OK I found it, Clover looks pretty good but don't think it would work well with my style of themes :)


Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 26, 2012, 08:53:02 pm
I just wanted to mention that with this mod if you go to change setting in Windows Update explorer crashes for me, I will have a look later and see what UI file is causing the problem.

Edit: I just changed all the other ones back to default aside from UI File 124 and no Explorer crashes now, but also it looks exactly the same, what were the effects of the other UI files you modified from the first post you gave us?


Title: Re: Wucltux.dll Update Window Help
Post by: Panda X on October 26, 2012, 09:31:13 pm
Me or charleston?


Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 26, 2012, 10:04:54 pm
The message was for charleston, it's OK now though, just restored all the other UI files and just left the one, I also made this mod for Windows 8


Title: Re: Wucltux.dll Update Window Help
Post by: charleston2378 on October 26, 2012, 11:36:58 pm
Now looks perfect but need to use both methods PandaX an Mr GRiM to make this work right

This:Seems I was able to do it by setting the border to 0 on line 332 and then adding the properties from there to line 329

<element background="themeable(gtc(CONTROLPANELSTYLE,2,0,3821),window)" bordercolor="themeable(gtc(CONTROLPANELSTYLE,17,0,3821),buttonshadow)" borderthickness="rect(0,0,1rp,0)"/>


And: class="wuapp_category_tab_area" layout="borderlayout()" padding="rect(0rp,0rp,3rp,0rp)">

    <element layoutpos="left" layout="borderlayout()" width="3rp"/>


and the result, the button is in the middle.


Title: Re: Wucltux.dll Update Window Help
Post by: Mr GRiM on October 26, 2012, 11:42:00 pm
Good stuff mate, glad you got it all worked out :)