Custom device with control position next to icon (single row)

In UI7, is there any way to create a custom static JSON file where the device icon and a controller (e.g. a label) is positioned next to each other, like in the built-in BinaryLight and TemperatureSensor? I tried playing around with the different positioning variables in the Device Simulator but no matter what values I use the control always seem to render below the icon.

Do the built-in devices have other CSS rules compared to custom developer devices?