Ui, maybe directly update the style properties instead of the style string?