How do I make elements in a layout occupy 50, 25, 10, etc. percent of the horizontal/vertical space available?