Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > Zablokuj > setInputsInline
Określ, czy wpisane wartości mają być rozmieszczone poziomo czy pionowo.
Podpis:
setInputsInline(newBoolean: boolean): void;
Parametry
Parametr |
Typ |
Opis |
newBoolean |
wartość logiczna |
Prawda, jeśli dane wejściowe są podawane w poziomie. |
Zwroty:
nieważne
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: 2025-07-25 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: 2025-07-25 UTC."],[[["The `setInputsInline()` method controls the arrangement of value inputs for a block, either horizontally or vertically."],["It accepts a boolean value, where `true` positions inputs horizontally and `false` positions them vertically."],["This method doesn't return any value, instead directly modifying the block's layout."]]],["The `Block.setInputsInline()` method configures the layout of value inputs within a block. It accepts a boolean parameter, `newBoolean`, to determine the input arrangement. Setting `newBoolean` to `true` arranges inputs horizontally. The method returns no value (void). It effectively controls whether block inputs are displayed in a horizontal line or a vertical stack.\n"]]