Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on November 14, 2022, 04:00:00 am



Title: Ask Reuben 150 - Not All Widgets Are Equal
Post by: Reuben B. on November 14, 2022, 04:00:00 am
The children of VBOX and HBOX containers are rendered independently of one another.  A common misconception is that elements in adjacent children of these containers should align, particularly if elements have been given the same number of columns and rows in the .per or .4fd.  Each widget has its own calculation for determining its height and width which is then factored into the width of columns and the height of rows in the parent container.  This can mean that elements you expect to align vertically or horizontally do not.
 
This is best illustrated by way of example, read more at https://4js.com/ask-reuben/ig-150/