/*
 * Copyright (c) 2018 toastkidjp.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompany this distribution.
 * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
 */

package jp.toastkid.slideshow.slide;

import javafx.scene.layout.VBox;
import javafx.scene.Node;

/**
 * @author toastkidjp
 */
class HorizontalMarginSetter {

    /**
     * Common horizontal insets.
     */
    private static final javafx.geometry.Insets INSETS
            = new javafx.geometry.Insets(0.0d, 40.0d, 0.0d, 40.0d);

    /**
     * Set horizontal margin.
     *
     * @param node {@link Node}
     */
    static void invoke(final Node node) {
        VBox.setMargin(node, INSETS);
    }
}

@@ -359,25 +359,49 @@
 afx.
-scene.layout.VBox
+geometry.Insets;%0Aimport javafx.scene.Node
 ;%0Aim
@@ -418,20 +418,27 @@
 x.scene.
-Node
+layout.VBox
 ;%0A%0A/**%0A 
@@ -568,32 +568,16 @@
 c final 
-javafx.geometry.
 Insets I

Modify import.