Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > FieldImage > updateSize_
Metoda FieldImage.updateSize_()
Podpis:
updateSize_(): void;
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: 2024-09-12 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: 2024-09-12 UTC."],[[["`updateSize_()` is a method of the `FieldImage` class in Blockly that manages the size of the image field."],["It has no parameters and does not return any value (void)."],["Its purpose is to adjust the size of the image field within the Blockly block, ensuring proper display."],["This method is likely called internally by Blockly during block rendering and updates to maintain visual consistency."]]],["The `FieldImage.updateSize_()` method, found within the Blockly library, is designed to adjust the size of an image field. This method takes no arguments and returns nothing (void). Its core function is to update the dimensions of the displayed image within the Blockly interface, ensuring it's displayed correctly. The method is called to perform the size adjustment operation.\n"]]