blockly > blockRendering > ConstantProvider > FIELD_BORDER_RECT_X_PADDING
właściwość blockRendering.ConstantProvider.FIELD_BORDER_RECT_X_PADDING.
Dopełnienie X w prostokątnym obramowaniu pola.
Podpis:
FIELD_BORDER_RECT_X_PADDING: number;
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-15 UTC.
[null,null,["Ostatnia aktualizacja: 2024-10-15 UTC."],[[["Blockly provides built-in icons for comments, warnings, and mutators, with only comment icons being customizable."],["Custom comment icons must implement the `ICommentIcon` interface, including methods for managing text, bubble visibility, and size."],["To ensure proper saving and loading of comment state, custom icons should implement the `ISerializable` interface, adhering to the `CommentState` structure."],["Custom comment icons need to be registered with Blockly using `Blockly.icons.registry.register` and the `IconTypes.COMMENT` type for them to be utilized."]]],["The `FIELD_BORDER_RECT_X_PADDING` property, found within the `ConstantProvider` class in the `blockRendering` namespace, defines the horizontal padding for a field's border rectangle. This property is of type `number` and dictates the amount of space added to the left and right of a field within its border. It's a configuration setting that affects the rendering of field boundaries in the Blockly environment.\n"]]