fixed logic in Text that was accessing padding attr directly without using the getter