[SOLVED] DirectButton images

Yup

Sorry I don’t understand this.
Does this mean for resizeable windows the button will change its size compared to other cards and 3d objects? (doesn’t look like it)
Oh and this question is solved, thanks

No, it’s just that you need to assume a particular window size in order to define a card that will be a particular pixel size. If you create the texture card with -p 384,384 and then parent it to aspect2d in a 1024x768 window, then the resulting appearance of the card onscreen will be exactly the same size, in onscreen pixels, as the original texture, which means you will see a pixel-perfect rendering of the texture. If you resize the window, then the card’s appearance onscreen will grow and shrink correspondingly (along with everything else in the window), and it will no longer be pixel-perfect, though it will still have the right aspect ratio.

David

Yeah, now that makes sence :slight_smile:
I tried to add “direct-gui-edit” line to the new 1.7 version, but again when I press the middle mouse button, the program freezes for a second and nothing happens