From: Kevin Lamonte Date: Thu, 22 Aug 2019 18:45:06 +0000 (-0500) Subject: make private X-Git-Tag: fanfix-swing-0.0.1~12^2~13^2~45 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=710d9525a59ab15b4519ac17adc21999a0fcd9de;p=fanfix-swing.git make private --- diff --git a/src/jexer/layout/BoxLayoutManager.java b/src/jexer/layout/BoxLayoutManager.java index 8e7a01e3..057127fa 100644 --- a/src/jexer/layout/BoxLayoutManager.java +++ b/src/jexer/layout/BoxLayoutManager.java @@ -137,7 +137,7 @@ public class BoxLayoutManager implements LayoutManager { * Resize/reposition child widgets based on horizontal/vertical * arrangement. */ - public void layoutChildren() { + private void layoutChildren() { if (children.size() == 0) { return; } diff --git a/src/jexer/layout/StretchLayoutManager.java b/src/jexer/layout/StretchLayoutManager.java index 3dea86ab..ee2bf5ab 100644 --- a/src/jexer/layout/StretchLayoutManager.java +++ b/src/jexer/layout/StretchLayoutManager.java @@ -144,7 +144,7 @@ public class StretchLayoutManager implements LayoutManager { * Resize/reposition child widgets based on difference between current * dimensions and the original dimensions. */ - public void layoutChildren() { + private void layoutChildren() { double widthRatio = (double) width / originalWidth; if (!Double.isFinite(widthRatio)) { widthRatio = 1;