#165 Avoid hard coded max sizes for vTcl windows

open
nobody
None
5
2007-11-20
2007-11-20
Strykaas
No

- Problem :

Maximum window sizes are hard coded within vTcl. Especially, "widget tree" and "function list" windows (the most worrying).

- Solution :

Use the screen resolution as a maximum.

In file :
vtcl/lib/tree.tcl
vtcl/lib/proc.tcl

wm maxsize $base [winfo screenwidth .] [winfo screenheight .]

Note : Many hard coded values for windows max size remain, but they shall not be a problem. Anyone wants to review them and do the same kind of fix ?

Note : My soon to be submitted patch will hold this fix.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks