core/ui: setting attributes