Fixing a few errors, adding support for attributedPlaceholder

`absoluteFloatLabelOffset` doesn't really describe this function for me. Feel free to suggest alternatives.