Adjusting Window_ItemCategory

Go down

Adjusting Window_ItemCategory

Post by ZeroManArmy on 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.
avatar
ZeroManArmy
Citizen
Citizen

Posts : 44
Gald : 164

Stats
Cookies: 0

View user profile http://ZeroManArmy.blogspot.com

Back to top Go down

Re: Adjusting Window_ItemCategory

Post by IMP1 on 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).

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Adjusting Window_ItemCategory

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

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

Posts : 44
Gald : 164

Stats
Cookies: 0

View user profile http://ZeroManArmy.blogspot.com

Back to top Go down

Re: Adjusting Window_ItemCategory

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

solved closed.

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Adjusting Window_ItemCategory

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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