Double click on the device/shortcut. The device properties menu has various options like truncate label, show label, label background, custom icons and default icons. These features can be used to customize devices/shortcuts.