Tutorial > Mockplus Cloud > Specs > Set the Measurement Unit

Set the Measurement Unit

The default measurement unit on the page is pixel. If you need to convert the unit for other platforms (such as the pt in iOS, the dp in Android, the rem for Web and rpx), you can toggle in the unit panel. Furthermore, up to now, Mockplus provides three types of unit conversations: general device conversion, custom width conversion, and custom unit conversion. 

Go to the "Development" mode and click "Switch platforms" (at the top of the right-side Properties panel) to select your wanted platform from the list. 

Three widely-used platforms are offered there, including the Web/H5, iOS and Android. And the design resolution ratio of your pages here is the same as the resolution ratio that you've chosen in Sketch/Adobe XD/PS plugin.

(Please note: If you mistakenly chose a resolution ratio, you need to upload all these pages with Sketch/Adobe XD/PS plugin again.)

After switching the platform, the auto-generated style codes for your designs will also change and match with your chosen platform correspondingly.

The custom width conversion is a supplement to the general device conversion method. For special device sizes, you can customize the device width.

In the custom unit conversion, you can set the conversion ratio between units and convert the specs value.

Click the settings button and you can show/hide the page border.

Custom decimal places

Under the Development mode, click "Setting" at the right corner to set decimal places as 0/1/2/3.

Previous Mark Progress
Next Settings