Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > blockRendering > RenderInfo > addAlignmentPadding_
blockRendering.RenderInfo.addalignmentPadding_() yöntemi
Alanların etrafına belirtilen miktarda dolgu eklemek için ilgili satırı değiştirin. Dolgunun tam konumu, alandaki son girişin hizalama özelliğine bağlıdır.
İmza:
protected addAlignmentPadding_(row: Row, missingSpace: number): void;
Parametreler
Parametre |
Tür |
Açıklama |
satır |
Satır |
Dolgunun ekleneceği satır. |
missingSpace |
sayı |
Ne kadar dolgu eklenecek? |
Şunu döndürür:
geçersiz
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `addAlignmentPadding_` method, part of `RenderInfo` in the `blockRendering` namespace, adjusts a row's field padding based on the last input's alignment. It accepts a `Row` object and a `missingSpace` number as input. This method then modifies the row to include the specified padding. The amount and placement of the padding are determined by the last input field's alignment property. The method does not return a value.\n"]]