コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >blockRendering >RenderInfo >addAlignmentPadding_
blockRendering.RenderInfo.addAlignmentPadding_() メソッド
指定した行を変更して、そのフィールドの周囲に指定した量のパディングを追加します。パディングの正確な位置は、フィールドの最後の入力の配置プロパティに基づきます。
署名:
protected addAlignmentPadding_(row: Row, missingSpace: number): void;
パラメータ
パラメータ |
型 |
説明 |
行 |
行 |
パディングを追加する行。 |
missingSpace |
数値 |
追加するパディングの量。 |
戻り値:
void
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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"]]