On 2017-02-26 03:46 AM, Brian Hill wrote:
On Feb 26, 2017, at 2:31 AM, Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> wrote:I don’t completely understand that but I’ll trust you do :-)
A nice thing about the BLayoutBuilder classes (where this is used) is
that they are template classes and almost completely inlined in the
places where they are used. So, we can change them without breaking the
ABI.
However, AddGlue has the advantage that it is short and easy to type.OK, so far the candidates are:
Maybe a simple AddSpace or AddPadding would do?
I think some other UI toolkits call this a "filler", when it consist
mostly of empty space. Go figure :)
AddSpace() -Already downvoted by Stephan
AddPadding()
AddFiller()
AddSpring()
AddSpacer()
AddRubber()
AddElastic()
AddEmptySpace()
AddWhiteSpace()
AddNegativeSpace()
Any other ideas?
-Brian