- Mastering UI Development with Unity
- Ashley Godbold
- 93字
- 2021-08-27 18:43:16
Padding
The Padding property represents the padding around the edges of the parent object's Rect Transform. Positive numbers will move the child objects inward and negative numbers will move the child objects outward.
As an example, the following screenshot shows three panels with various padding values applied. The first Panel has no padding, the second panel has a positive padding on all four sides, and the third Panel has positive padding on the left, right, and bottom but a negative padding on the top:

Horizontal Layout Groups Example 2 in the Chapter3Text Scene
推薦閱讀
- Python計算機視覺編程
- Java編程技術與項目實戰(第2版)
- INSTANT Django 1.5 Application Development Starter
- Getting Started with NativeScript
- Cocos2d-x學習筆記:完全掌握Lua API與游戲項目開發 (未來書庫)
- Mastering JavaScript Design Patterns(Second Edition)
- 匯編語言編程基礎:基于LoongArch
- QGIS 2 Cookbook
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- Python 3 Object:oriented Programming(Second Edition)
- 3ds Max 2018從入門到精通
- Processing開發實戰
- 詩意的邊緣
- IBM DB2 9.7 Advanced Application Developer Cookbook
- 深入淺出Rust