If you don't change the insets, no image at all will be visible.
如果没有更改insets,那么就看不见任何图像。
If you subtract the insets from the screen size, you have the size your window should be.
如果从屏幕大小中减去那些insets,您就得到了窗口的应有大小。
In most cases, the insets' values should be identical to those of the insets you used in the image.
在大多数情况下,insets的值应该与在图像中使用的insets的值相同。
In the following example, the size of the insets of the button will be changed according to the value of the slider component.
在下面的例子中,按钮的间隔尺寸会根据滚动条组件的值的变化而变化。
In the following example, the size of the insets of the button will be changed according to the value of the slider component.
在下面的例子中,按钮的间隔尺寸会根据滚动条组件的值的变化而变化。
应用推荐