
01-25-2014, 02:35 PM
|
|
Elite Member
|
 |
Join Date: Jun 2001
Posts: 10,065
|
|
Need some advice on this approach..
|
I am making a mock up of an inventory system, and I want to have grid alignment.
Ex:
0 0 0 0
0 0 0 0
Not:
00 0 0
0 0 00
At the moment, I am using a frames control, And showimg for the icons (32x32 pix), and that works fine.
What I want to do, is, say for example I have an icon that id 32 pix wide, and 64 pixels in height. I need that to take up grid space like this:
0 0 X 0
0 0 X 0
Without allowing anything else To display in that slot (X's refer to 32x64 item.)
I have thought of checking for the width/height of the image and basically chopping it in two and displaying two halves (one half in each corresponding frame) but that seems messy. |
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
|
|
|
|
|