Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > blockRendering > RenderInfo > getDesiredRowWidth_
Methode blockRendering.RenderInfo.getDesiredRowWidth_()
Berechnen Sie die gewünschte Breite einer Eingabezeile.
Unterschrift:
protected getDesiredRowWidth_(_row: Row): number;
Parameter
Parameter |
Typ |
Beschreibung |
_row |
Zeile |
Die Eingabezeile. |
Gibt zurück:
Zahl
Die gewünschte Breite der Eingabezeile.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-21 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-08-21 (UTC)."],[[["The `getDesiredRowWidth_` method calculates the desired width of a given input row within a Blockly block rendering."],["This protected method belongs to the `RenderInfo` class within the `blockRendering` namespace of Blockly."],["It accepts a single argument, `_row`, which is an instance of the `Row` class, representing the row to measure."],["The method returns a numerical value representing the calculated desired width of the input row."]]],["The `getDesiredRowWidth_` method, part of `blockRendering.RenderInfo`, calculates the intended width for a given input row. It accepts a `Row` object as a parameter. The method's purpose is to determine and return the numerical desired width of that specific input row, allowing for proper layout and rendering of blocks. It's a protected method.\n"]]