[SUGGESTION][EDITOR][FIXED] Adjust Default window placement for certain windows

Started by Apjjm, February 08, 2016, 11:49:26 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Apjjm

Status: Fixed for the next update. For those who want a fix ASAP, the latest experimental version should be stable enough for general use, and contains the fix for this.




Some window elements (most notably the terrain selection window & the shift level window) use the centre of the screen as their default placement, rather than the centre of the editor window / relative positioning with respect to the editor window. As a result, on a 2-monitor setup these windows always appear straddling the two screens, and you have to move them every time before trying to use them.

Below is a list of windows that have this behaviour:
File->New Level
Edit->Insert Terrain
Edit->Insert Object
Edit->Shift Level
Tools->Validate Level
Tools->Dat File Decompression
My Level Packs: Quartet

namida

Thanks for letting me know. Although I do have two screens, I rarely use them as a two-monitor setup (rather, the external one is attached to a different device) so hadn't noticed this. I'll look into it next time I'm working on the editor.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Finally got around to looking at this. I changed it in the form's specifications, but it didn't seem to affect most of them (it fixed it for a few, such as the DAT File Decompressor). This leads me to believe there must be something in the actual code itself that positions these, so I'll try and find that.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

I think I've got this fixed now. Could you try out the latest experimental version (see this topic: http://www.lemmingsforums.net/index.php?topic=2390.0 ) and let me know if you have any issues?
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Apjjm

My Level Packs: Quartet

namida

Awesome. :)

That experimental version is probably stable enough to use until an official update comes out, so feel free to continue using it rather than the latest (V1.40n) stable version until there's an update.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)