ui block device text align