HorizontalAlignment
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wyrównanie zawartości komórki.
Wartości w polu enum |
LEADING |
Początek krawędzi komórki. Jest to ustawienie domyślne. |
CENTER |
Treść jest wyśrodkowana na środku kolumny. |
TRAILING |
Zawartość jest wyrównana do końcowego krawędzi kolumny. |
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: 2023-05-16 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2023-05-16 UTC."],[[["Cell content alignment defaults to the leading edge (left for LTR languages, right for RTL)."],["Alignment options include leading, center, and trailing, controlling how content is positioned within the cell."],["`TRAILING` aligns content to the column's trailing edge (right for LTR languages, left for RTL)."]]],["The document defines cell content alignment options using enums. `LEADING` aligns content to the cell's leading edge, which is the default setting. `CENTER` positions content in the column's center. `TRAILING` aligns content to the column's trailing edge. These enums dictate how text or other elements are positioned within a designated cell space.\n"]]