On 2012-01-19 05:01:07, DJIBEL wrote:
Show quoted text> Dear,
>
> I have try this code On Windows and Linux system :
>
[...]
Show quoted text>
> The behaviour is different in Windows and Linux system.
> On Windows, it is OK.
> On Linux, the size of button is the same with the size of image or very big.
>
> How to resolve this problem ?
>
> N.B.
> On Windows : ActivePerl 5.14.2, Tk 804.030
> On Linux : perl 5.10.1, Tk 804.030
>
Hi djibel,
a similar Tcl/Tk script:
set image [image create photo -file image.gif]
checkbutton .c -image $image
pack .c
shows the same behavior with 8.4. But it is fixed with 8.5. So I can try to look into the changes between 8.4 and 8.5, and use this patch for Perl/Tk.
Regards,
Slaven