Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Pages: 1 [2]  All

Author Topic: inventorywindow buttons  (Read 12103 times)

0 Members and 1 Guest are viewing this topic.

revvin

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 36
    • View Profile
Re: inventorywindow buttons
« Reply #15 on: March 21, 2005, 12:05:48 AM »

McCoy: Thanks for your quick response. :)

Mnemonic:  Thats what I thought - but it wasnt working... I must just be misunderstanding the AREA definition.

You see - this is my code definition (which now works fine). But if I change the AREA Width (currently 375) to anything less than 152 - I dont see anything. I am not sure why - because the cell is 75px - and even if you add 32px (spacing both sides of the cell) its only 107px ?

Code: [Select]
   ITEM_WIDTH = 75
  ITEM_HEIGHT = 75
  SPACING = 16
  SCROLL_BY = 3
  HIDE_SELECTED = TRUE
  AREA { 77, 115, 375, 375 }
  EXCLUSIVE = TRUE

Anyway - I just increased the AREA to a figure way above what I actually need (space+cell+space+cell+space+cell+space = 289px  - so in theory AREA { 77, 115, 289, 289 } should work fine) and it now works perfectly!

Thanks for the help again.  ;D
Logged
Pages: 1 [2]  All
 

Page created in 0.039 seconds with 24 queries.