wanadev / PhotonUI

A javascript framework to create user interfaces
http://wanadev.github.io/PhotonUI/
BSD 3-Clause "New" or "Revised" License
63 stars 20 forks source link

Fix spacing fuild layout #36

Closed MangelMaxime closed 8 years ago

MangelMaxime commented 8 years ago

This PR is for fixing #33

I used js to calculate the width of the layout. It's always 100% and we add the spacing of the items to the layout.

I took a look if we need to do the same for the height of the container, and it looks like it's not needed.

Here is the requirements for using calc.