Encuesta de investigación: Cuéntanos sobre tu experiencia con Blockly
Comenzar encuesta
blockly > blockRendering > ConstantProvider > FIELD_BORDER_RECT_X_PADDING
Propiedad blockRendering.ConstantProvider.FIELD_BORDER_RECT_X_PADDING
Relleno X del rectángulo del borde de un campo.
Signature:
FIELD_BORDER_RECT_X_PADDING: number;
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-10-15 (UTC)
[null,null,["Última actualización: 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"]]