Problem with my imageset
Posted: Sat Sep 13, 2008 04:46
Hey,
I have a new problem.
I created a imageset which contains icons (toolbar-icons). Now I want to crate a little toolbar, based on the TaharezLook-Skin. So I use the ImageButton-Window to draw the buttons of the Toolbar.
I created the imageset with the imageset editor and with the imageset editor everything is drawn correctly.
But if I use the images from the imageset, they are drawn wrong: the button-image is moved by one pixel.
So, the top row of pixels and the left column of pixels is drawn twice, the last row and the last column is cut (it becomes the first row of the second button).
What is wrong with my imageset? What is wrong with my imagebutton??
Here a picture, to show, what I mean:
So if you look at the "New"-button: differenz between the paper and the border is on the imageset-image 1 pixel and on the screenshot (on the imagebutton) there are two buttens difference, the first row is exactly thy same like the second row of pixels. Why?
The TGA-File of the imageset: click
The imageset-file: click
Thank you very much!
D.
I have a new problem.
I created a imageset which contains icons (toolbar-icons). Now I want to crate a little toolbar, based on the TaharezLook-Skin. So I use the ImageButton-Window to draw the buttons of the Toolbar.
I created the imageset with the imageset editor and with the imageset editor everything is drawn correctly.
But if I use the images from the imageset, they are drawn wrong: the button-image is moved by one pixel.
So, the top row of pixels and the left column of pixels is drawn twice, the last row and the last column is cut (it becomes the first row of the second button).
What is wrong with my imageset? What is wrong with my imagebutton??
Here a picture, to show, what I mean:
So if you look at the "New"-button: differenz between the paper and the border is on the imageset-image 1 pixel and on the screenshot (on the imagebutton) there are two buttens difference, the first row is exactly thy same like the second row of pixels. Why?
The TGA-File of the imageset: click
The imageset-file: click
Thank you very much!
D.