Closed TheMonsterFromTheDeep closed 8 years ago
This issue now also exists in HorizontalModulePane.
Now, however, the HorizontalModulePane has a strange glitch where resizing modules other than the first two will not work correctly. Also, both ModulePane classes have slight draw glitches when drawing the modules outside the two being resized because they are not re-drawn even when the arrow moves into them.
The HorizontalModulePane now properly resizes.
However, the arrow drawing glitch still exists. There is a simply solution, which is simply re-drawing all child modules. This may end up being the best solution.
Other solutions included limiting the position the arrow is allowed move to. As long as the minimum size of the window is never less smaller than the arrow, it should never draw into any other modules.
Resizing now works pretty well except there are still glitches when the mouse pointer is moved very quickly.
As the code is now under a completely new system, this is no longer relevant.
The resizing of modules for VerticalModulePane (and, in the future, HorizontalModulePane) works pretty well right now. However, when the cursor goes beyond where the module is being resized (because of minimum size restrictions) the cursor is then offset from resizing the module by some amount which makes the UI less friendly.
It also might be beneficial to implement dynamic minimum sizes based on the amount of modules - if the amount of modules is bigger, the minimum size could be smaller - but then again, that doesn't make very much sense because then resizing single modules to the minimum size could be strange