Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange length in canvas: 1c is about 3c?

Status
Not open for further replies.

canyouhandleit

Programmer
Oct 25, 2004
2
DE
Hi all,

I use three monitors on the matrox parhelia. Each monitor has a resolution of 1280x1024 -> so the desktop has the resolution of 3840x1024. when I create a rectangle in a canvas:

canvas .c
pack .c
.c create rect 1c 1c 2c 2c

then the displayed rectangle looks like 3.75c 3.75c 7.5c 7.5c. The coordinates seems to be multiplied by 3.75 -> 3840/1024 my desktop resolution? Also all buttons are really big sized.

How can I handle it? Is there an environment variable which corrects this "zoom" factor or any other function?

Thanks
Mario
 
try that:
pack .c -fill none -expand no

just to see if it changes anything...
lemme know innit...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top