package org.activityinfo.ui.client.component.formdesigner; /* * #%L * ActivityInfo Server * %% * Copyright (C) 2009 - 2013 UNICEF * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program. If not, see * <http://www.gnu.org/licenses/gpl-3.0.html>. * #L% */ /** * @author yuriyz on 07/07/2014. */ public class Metrics { public static final int SOURCE_CONTROL_INITIAL_LEFT = 4; public static final int SOURCE_CONTROL_INITIAL_TOP = 5; public static final int SOURCE_CONTROL_WIDTH_PX = 120; public static final int SOURCE_CONTROL_HEIGHT_PX = 32; public static final int SOURCE_CONTROL_MARGIN_RIGHT = 10; public static final int MAX_VERTICAL_SCROLL_POSITION = 20; public static final int EXPECTED_MAX_CHILD_HEIGHT = 200; public static final int PANEL_HEIGHT_INCREASE_CORRECTION = 300; public static final int HEIGHT_DIFF_BETWEEN_DROPPANEL_AND_CONTAINER_ABSOLUTE_PANEL = 100; public static final String DEFAULT_STYLE_NAME = "btn btn-primary btn-xs"; private Metrics() { } }