Jump to content

Skin Problem


Recommended Posts

I've used the skin UDF posted by Valuater.

I've run into three problems, but only two are AutoIt related so I'll leave the other one out.

So, I've made my skin and everything, but i can't get the close button to show up.

Edit: The reason the title wouldn't show up is that i had the option set wrong. However, showing the title makes my skin mess up.

I'll get around that by adding a label to be used as the title bar.

Here's the Skin.dat file.

[Info]
Title = DarkCian
Author = Personoid

[color]
background=0x454545
Button=0x147d96
mouseover=0x147d96
fontcolor=0x147d96

[settings]
size=20

[icon]
style=cross1
Isize=15
adjustleft=1
adjustdown=1

$Skin_Folder = @ScriptDir & "\Skins\DarkCian" 
;Unrelated Code

$XSkinGui = XSkinGUICreate( "My GUI", 300, 150, $Skin_Folder, 1, 0) 
GUISetBkColor(0x000000) 
$XIcon = XSkinIcon($XSkinGui, 1)

Thanks in advance.

Edited by PersonoidxX
Link to comment
Share on other sites

I think it might be a problem with XSkin. A tiny problem. Look at XSkin.au3. Find out what the value of $Icon_Folder is. For me, it was blank. To fix this, at the top, when $Icon_Folder is declared, make it equal @ScriptDir. I think that should fix the problem. Also check the Skin.dat file. In one of mine, there was a semicolon in front of one of the lines which messed up XSkin

Edit: If you still can't fix it, PM Valuater. Valuater will be happy to help you.

Edited by dantay9
Link to comment
Share on other sites

I think it might be a problem with XSkin. A tiny problem. Look at XSkin.au3. Find out what the value of $Icon_Folder is. For me, it was blank. To fix this, at the top, when $Icon_Folder is declared, make it equal @ScriptDir. I think that should fix the problem. Also check the Skin.dat file. In one of mine, there was a semicolon in front of one of the lines which messed up XSkin

Edit: If you still can't fix it, PM Valuater. Valuater will be happy to help you.

Thank you. Thanks to your tip about the dat file, i now have the space for the icon up.

I still don't have the icon showing up and i don't have the title. I believe my dat file is right now. [The comments were throwing it off.]

Link to comment
Share on other sites

Immediately, I can see a 'possible' problem here...

style=cross1

Isize=15

adjustleft=1

adjustdown=1

if the size = 15, then the MINIMUM the adjust can be is 15 AFAIK

try adjusting those two numbers and see what happens

adjustleft=15

adjustdown=15

... also AFAIK, there is no error in XSkin regarding this

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

Thanks. I've discovered that it was indeed my error.

I edited a different skin and it has the same problem. So that means it's my fault. lol.

Thanks, again.

Edit: On second check, the error also exists in the noir file. it should be calling bluebox1.bmp as the exit icon.

Instead it calls a blue tinted box with no background.

Edited by PersonoidxX
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...