研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly > blockRendering > ConstantProvider > MIN_BLOCK_WIDTH
blockRendering.ConstantProvider.MIN_BLOCK_WIDTH 属性
版块的最小宽度。
Signature:
MIN_BLOCK_WIDTH: number;
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-09。
[null,null,["最后更新时间 (UTC):2024-11-09。"],[[["`MIN_BLOCK_WIDTH` is a property within Blockly's blockRendering namespace that defines the minimum width a rendered block can have."],["This property ensures that blocks have a certain minimum size for better visibility and user interaction, even if their content is short."],["It is a numerical value and is accessed through `blockRendering.ConstantProvider.MIN_BLOCK_WIDTH`."]]],["The `MIN_BLOCK_WIDTH` property, found within the `blockRendering.ConstantProvider` class, defines the minimum allowable width for a block. This property is a numerical value (`number`) that dictates the smallest width a block can be rendered with. It is a core parameter affecting block size constraints during rendering.\n"]]