Bản khảo sát nghiên cứu: Cho chúng tôi biết trải nghiệm của bạn khi sử dụng Blockly
Bắt đầu khảo sát
chặn > blockRendering > Hàng > statementEdge
Thuộc tính blockRendering.Row. {2/}Edge
Vị trí của cạnh trái của tất cả mục nhập câu lệnh trong khối. Điều này đảm bảo rằng các mục nhập câu lệnh được xử lý bởi các trường có độ rộng varius đều được căn chỉnh.
Chữ ký:
statementEdge: number;
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-29 UTC."],[[["`statementEdge` property defines the left edge position for statement inputs within a block."],["This property ensures alignment of statement inputs, even with preceding fields of varying widths."],["It's a numerical value representing the position relative to the block's edge."]]],["The `statementEdge` property, found within `blockRendering.Row`, is a numerical value. It specifies the horizontal position of the left edge for all statement inputs within a block. This ensures uniform alignment of statement inputs, regardless of any preceding fields of varying widths. The property's purpose is to standardize the layout of statement inputs within the visual representation of a block.\n"]]