OmegaDev
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Adjusting Window_ItemCategory

2 posters

Go down

Adjusting Window_ItemCategory Empty Adjusting Window_ItemCategory

Post by ZeroManArmy Sat Nov 06, 2010 2:31 am

Okay, so I have this nice script called, Simple Sort Inventory, I fixed a tiny thing with it and now what I want is the Category to not be aligned to the left. I'll explain in the Screenshot below.

I want the Text in the bubble to be Right next to category instead all the way to the left. When I tried to fix that the Text that says All was in perfect placement, but Key Items was overlapping the Blue text that says Category:. Any help would be greatly appreciated.
Adjusting Window_ItemCategory SSIHelp
ZeroManArmy
ZeroManArmy
Citizen
Citizen

Posts : 44
Gald : 164

Stats
Cookies: 0

http://ZeroManArmy.blogspot.com

Back to top Go down

Adjusting Window_ItemCategory Empty Re: Adjusting Window_ItemCategory

Post by IMP1 Sat Nov 06, 2010 8:28 am

look at the method draw_text in Window_Base

draw_text(x,y,width,height,text,allignment)
Just work out the x-value you want it at, and change the allignment to 0 (left alligned).
IMP1
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

Back to top Go down

Adjusting Window_ItemCategory Empty Re: Adjusting Window_ItemCategory

Post by ZeroManArmy Sat Nov 06, 2010 11:05 am

Thanks! I got it! Close now!
ZeroManArmy
ZeroManArmy
Citizen
Citizen

Posts : 44
Gald : 164

Stats
Cookies: 0

http://ZeroManArmy.blogspot.com

Back to top Go down

Adjusting Window_ItemCategory Empty Re: Adjusting Window_ItemCategory

Post by IMP1 Sat Nov 06, 2010 12:08 pm

solved closed.
IMP1
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

Back to top Go down

Adjusting Window_ItemCategory Empty Re: Adjusting Window_ItemCategory

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum