package b4j.example.designerscripts;
import anywheresoftware.b4a.BA;


public class LS_main{

public static void LS_general(anywheresoftware.b4j.objects.LayoutBuilder.LayoutData views, int width, int height, float scale) {
;
//BA.debugLineNum = 2;BA.debugLine="btnCopy.HorizontalCenter = 50%x"[main/General script]
views.get("btncopy").setLeft((int)((50d / 100 * width) - (views.get("btncopy").getPrefWidth() / 2)));
//BA.debugLineNum = 3;BA.debugLine="btnCut.Right = btnCopy.Left - 10"[main/General script]
views.get("btncut").setLeft((int)((views.get("btncopy").getLeft())-10d - (views.get("btncut").getPrefWidth())));
//BA.debugLineNum = 4;BA.debugLine="btnPaste.Left = btnCopy.Right + 10"[main/General script]
views.get("btnpaste").setLeft((int)((views.get("btncopy").getLeft() + views.get("btncopy").getPrefWidth())+10d));

}
}