MovingBlocks/Terasology — pull request #303 by miniME89 (2012-08-03 20:40:42+00:00)
Title: Added layout method to UI elements. Will handle layout settings at resizing.

Setting the layout every time in the update function was unnecessary. We just need to update the layout if the Display or the parent container was changed in size. That is what i implemented there.