Shrinking Windows in Visual LiSP Editor

Shrinking Windows in Visual LiSP Editor

mgorecki
Collaborator Collaborator
1,645 Views
7 Replies
Message 1 of 8

Shrinking Windows in Visual LiSP Editor

mgorecki
Collaborator
Collaborator

I have seen this posted before, but it seems to be completely ignored.

When you switch between windows, or are testing some code and you highlight a variable then pick "Load selection" to check its value, the editor window shrinks a small amount.  In no time, you have to grab the bottom corner and pull it back to the size you had it before.

What is the purpose for the shrinking?  I don't remember it happening in AutoCAD 2010, but 2015 and 2018 the window shrinks.  I'm sure it's happening in 2019 and 2020.

It may not seem like a big deal, but it is very annoying.   I've seen this issue in the forums, but I've never seen an Autodesk response indicating that it will be looked into, or corrected (maybe I missed it).

If this is being corrected in AutoCAD 2020, please let me know.

Thanks,'

Mark

 

0 Likes
Accepted solutions (1)
1,646 Views
7 Replies
Replies (7)
Message 2 of 8

martti.halminen
Collaborator
Collaborator

 

Happens for me too, on 2017 and 2019, I don't have 2020 currently installed.

 

On Windows 7 this disappeared when changing from Aero to Classic themes, so this is likely some problem with a Microsoft framework, probably miscalculating scroll bar width. Haven't found any similar escape on Windows 10.

 

-- 

 

0 Likes
Message 3 of 8

jwhite
Advocate
Advocate
Accepted solution

If you have registry access you can set the PaddedBorderWidth to 0 under Computer\HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics. This change, along with not using Aero stopped my shrinking windows.

0 Likes
Message 4 of 8

mgorecki
Collaborator
Collaborator

Hello jwhite,

That seems to have done the trick. 

 

Thank you very much.

Mark

0 Likes
Message 5 of 8

jwhite
Advocate
Advocate

You're welcome, although I didn't come up with the solution myself. I could swear I got the fix here but I can't find the original post.

0 Likes
Message 6 of 8

Anonymous
Not applicable

What worked for me was to click somewhere inside the script window and then type "alt + f6" (Window > Zoom) few times. Somehow it fixed the size...

Message 7 of 8

rkmcswain
Mentor
Mentor
@jwhite wrote:

If you have registry access you can set the PaddedBorderWidth to 0 under Computer\HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics. This change, along with not using Aero stopped my shrinking windows.

@jwhite - is this workaround for Windows 7 only? Thanks.

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 8 of 8

jwhite
Advocate
Advocate

To rkmcswain,

I'm using Windows 10 and the registry setting for PaddedBorderWidth still worked for me. It may require a reboot for Windows to acknowledge the setting change.