When i use the following values for a FlexItem
item = item.withFlex(1.0f);
item.maxWidth = 40.0f;
When no scaling happens the margins are correct and show a space of 1 pixel between my coloured palette buttons. When scaling does occur often the 1 pixel margin is not present.
This happens on OSX, no Retina.