HyperEdit icon indicating copy to clipboard operation
HyperEdit copied to clipboard

negative window position ❎

Open zer0Kerbal opened this issue 3 years ago • 5 comments

It is possible to have a negative window position

would you kindly either make negative window positions not possible, or add a reset window position button?

HyperEdit { x = 307 y = 114 } Orbit_Editor { x = 51 y = 443 } Select { x = 810 y = 290 } Load... { x = 810 y = 290 } Misc_tools { x = 111 y = -111 } Lander { x = 316 y = 180 } Error { x = 760 y = 540 } About { x = 100 y = 100 }

zer0Kerbal avatar Nov 14 '21 01:11 zer0Kerbal

fyi EL has this same issue

zer0Kerbal avatar Nov 14 '21 01:11 zer0Kerbal

You can reset window positions by deleting the file called "windowpos.cfg" in the "\GameData\Kerbaltek\HyperEdit" folder.

I'm not much of a C# coder, and I barely know Git at all, so I'm kinda stuck. Also, currently I cannot get my existing code to build and I don't know why, and interest has dropped off quite a lot lately, so I never got around to fixing it.

If you have tested code to submit, I'd gladly accept help.

fyi EL has this same issue

What is "EL"?

Ezriilc avatar Nov 14 '21 01:11 Ezriilc

I totally understand. Been there myself.

EL = Extraplanetary Launchpads by @taniwha

Will see if I can chisel some time out - but no guarantees.

zer0Kerbal avatar Nov 14 '21 01:11 zer0Kerbal

If it helps, I managed to cause the following when accidentally copy & pasting a rather long string into a text box: Orbit_Editor { x = -3764 y = 134 } The window grew wide and did not shrink when deleting the text, and so - of course - I dragged the window over to try find the "apply" button. I assume the top-left window corner coordinate is saved

I get this is probs low priority, but is a nice-to-have to ensure windows are on screen, or have the suggested reset button.

obfusc8d avatar Aug 16 '23 22:08 obfusc8d

I get this is probs low priority...

Yeah, sorry.

Ezriilc avatar Aug 16 '23 23:08 Ezriilc