diff --git a/examples/ScatterCtrl_Demo/ScatterCtrl_Demo.lay b/examples/ScatterCtrl_Demo/ScatterCtrl_Demo.lay index bc8c1992b..487eae371 100644 --- a/examples/ScatterCtrl_Demo/ScatterCtrl_Demo.lay +++ b/examples/ScatterCtrl_Demo/ScatterCtrl_Demo.lay @@ -64,19 +64,19 @@ LAYOUT(Tab10, 380, 292) ITEM(ScatterCtrl, scatter, SetTitle(t_("User graph")).SetTitleFont(SansSerifZ(14).Bold()).SetPlotAreaTopMargin(20).SetLabelsFont(StdFontZ(11)).SetLegendAnchor(2).HSizePosZ(16, 12).VSizePosZ(16, 16)) END_LAYOUT -LAYOUT(TabUserEquation, 764, 276) +LAYOUT(TabUserEquation, 672, 276) ITEM(ScatterCtrl, scatter, SetTitle(t_("User equation")).SetTitleFont(SansSerifZ(14).Bold()).SetPlotAreaRightMargin(20).SetPlotAreaTopMargin(20).SetLabelsFont(StdFontZ(11)).SetLegendAnchor(2).HSizePosZ(4, 4).VSizePosZ(4, 28)) - ITEM(Label, dv___1, SetLabel(t_("to")).LeftPosZ(560, 16).BottomPosZ(3, 21)) - ITEM(Label, dv___2, SetLabel(t_("from y =")).LeftPosZ(468, 44).BottomPosZ(3, 21)) - ITEM(EditDouble, toY, LeftPosZ(580, 44).BottomPosZ(5, 19)) - ITEM(EditDouble, fromY, LeftPosZ(512, 44).BottomPosZ(5, 19)) - ITEM(EditString, equation, LeftPosZ(124, 156).BottomPosZ(5, 19)) - ITEM(Label, dv___6, SetLabel(t_("User equation y = f(x) =")).LeftPosZ(8, 116).BottomPosZ(3, 21)) + ITEM(Label, dv___1, SetLabel(t_("to")).RightPosZ(140, 16).BottomPosZ(3, 21)) + ITEM(Label, dv___2, SetLabel(t_("from y =")).RightPosZ(204, 44).BottomPosZ(3, 21)) + ITEM(Label, dv___3, SetLabel(t_("User equation y = f(x) =")).LeftPosZ(8, 116).BottomPosZ(3, 21)) + ITEM(Label, dv___4, SetLabel(t_("to")).RightPosZ(312, 16).BottomPosZ(3, 21)) + ITEM(Label, dv___5, SetLabel(t_("from x =")).RightPosZ(376, 44).BottomPosZ(3, 21)) + ITEM(EditString, equation, HSizePosZ(124, 432).BottomPosZ(5, 19)) + ITEM(EditDouble, fromX, RightPosZ(332, 44).BottomPosZ(5, 19)) + ITEM(EditDouble, toX, RightPosZ(264, 44).BottomPosZ(5, 19)) + ITEM(EditDouble, fromY, RightPosZ(160, 44).BottomPosZ(5, 19)) + ITEM(EditDouble, toY, RightPosZ(92, 44).BottomPosZ(5, 19)) ITEM(Button, update, SetLabel(t_("Update")).RightPosZ(4, 80).BottomPosZ(4, 20)) - ITEM(Label, dv___8, SetLabel(t_("to")).LeftPosZ(388, 16).BottomPosZ(3, 21)) - ITEM(Label, dv___9, SetLabel(t_("from x =")).LeftPosZ(296, 44).BottomPosZ(3, 21)) - ITEM(EditDouble, toX, LeftPosZ(408, 44).BottomPosZ(5, 19)) - ITEM(EditDouble, fromX, LeftPosZ(340, 44).BottomPosZ(5, 19)) END_LAYOUT LAYOUT(Tab11, 504, 468) @@ -98,7 +98,7 @@ LAYOUT(Tab13, 420, 236) END_LAYOUT LAYOUT(TabPie, 536, 440) - ITEM(PieCtrl, chart, SetLegendHeight(80).SetLegendBackColor(Color(229, 229, 229)).SetTitle(t_("Average Weather")).SetFrame(ThinInsetFrame()).HSizePosZ(8, 12).VSizePosZ(40, 12)) + ITEM(PieCtrl, chart, SetLegendBackColor(Color(229, 229, 229)).SetLegendHeight(80).SetTitle(t_("Average Weather")).SetFrame(ThinInsetFrame()).HSizePosZ(8, 12).VSizePosZ(40, 12)) ITEM(Label, dv___1, SetLabel(t_(" EXPERIMENTAL")).SetFrame(ThinInsetFrame()).LeftPosZ(8, 84).TopPosZ(8, 24)) END_LAYOUT