I am using Google Apps Script and the Apps Script UI Builder, which is based on GWT widgets.
If I create a Flow Panel, and add two Labels of 50% width, then these labels appear on separate lines. But isn’t 50% + 50% = 100%.
How do I make them appear on the same line?
To try it out yourself:
-
Open a Google Spreadsheet.
-
In the Spreadsheet menu, click: Tools / Script Editor…
-
In the Script Editor menu, click: File / Build a user interface…
-
Add the widgets to the canvas.
Of course this question doesn’t just apply to the problem with the labels. In general I am totally puzzled concerning how to build flowing layouts with the UI Builder. There seem to be (hidden?) paddings and margins that make things very hard.
The solution is simple. For both labels, set to zero:
Borders and Margins / Margin
Don’t know why I didn’t see that yesterday – I was doing a night shift… 😉