Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 150 - Not All Widgets Are Equal  (Read 3673 times)
Reuben B.
Four Js
Posts: 1067


« 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/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines