MauveCloud / Ic2ExpReactorPlanner

A planner for nuclear reactors in the popular Minecraft mod IndustrialCraft2 Experimental.
GNU General Public License v2.0
179 stars 30 forks source link

Component icons don't resize automatically in certain conditions unlike those in the reactor grid #46

Closed KrisBigK closed 5 years ago

KrisBigK commented 5 years ago

Two demostrations: image image This problem is automatically fixed when minimizing the window and re-opening it again.

Steps to reproduce: For the first one: 1.vertically reduce the window size until it becomes a line image 2.vertically increase the window size to a certain point when the icons become bigger and suddenly become small again. For the second one: Just move up the line circled in the picture below image

MauveCloud commented 5 years ago

Evidently, I hadn't bothered to test this before, however, now that I did, I discovered you were mistaken about this part:

unlike those in the reactor grid

Both only resized the existing images when the window was resized (not when the split panes were), though placing a new component in the grid would calculate an appropriate image size, which allowed me to get this effect: MultisizeComponents