From 415e9c09a9306bcd2b76ff993231faa18e56bd64 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 22 Sep 2022 12:45:16 +0200 Subject: [PATCH] Translate comments in Layout.java #393 --- .../allg/itd51/wollmux/ui/layout/Layout.java | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/core/src/main/java/de/muenchen/allg/itd51/wollmux/ui/layout/Layout.java b/core/src/main/java/de/muenchen/allg/itd51/wollmux/ui/layout/Layout.java index f59381abb..137533eed 100644 --- a/core/src/main/java/de/muenchen/allg/itd51/wollmux/ui/layout/Layout.java +++ b/core/src/main/java/de/muenchen/allg/itd51/wollmux/ui/layout/Layout.java @@ -28,9 +28,7 @@ import com.sun.star.awt.XControl; /** - * Ein LayoutManager für die Sidebar. - * - * @author daniel.sikeler + * A LayoutManager for the sidebar. */ public interface Layout { @@ -44,17 +42,17 @@ public interface Layout Pair layout(Rectangle rect); /** - * Fügt den Layout ein weiteres Sub-Layout hinzu. + * Adds another sub-layout to the layout. * * @param layout - * Das neue Sub-Layout. + * The new sub-layout. * @param weight - * Die Gewichtung (Größe) im Vergleich zu den anderen Layouts. + * The weighting (size) compared to the other layouts. */ void addLayout(Layout layout, int weight); /** - * {@link #addLayout(Layout, int)} mit {@link ControlLayout} und Gewicht 1. + * {@link #addLayout(Layout, int)} with {@link ControlLayout} and weight 1. * * @see #addLayout(Layout, int) * @param control @@ -80,11 +78,11 @@ default void addControl(XControl control, int weight) } /** - * Die Höhe des Layouts. + * The height of the layout. * * @param width * The requested width. - * @return Die Höhe. + * @return The height */ int getHeightForWidth(int width);