diff --git a/upptst/StdRichTextZoom/StdRichTextZoom.upp b/upptst/StdRichTextZoom/StdRichTextZoom.upp new file mode 100644 index 000000000..50f61f814 --- /dev/null +++ b/upptst/StdRichTextZoom/StdRichTextZoom.upp @@ -0,0 +1,11 @@ +uses + CtrlLib; + +file + Test.h, + main.cpp, + Test.lay; + +mainconfig + "" = "GUI"; + diff --git a/upptst/StdRichTextZoom/Test.h b/upptst/StdRichTextZoom/Test.h new file mode 100644 index 000000000..cf2f6960f --- /dev/null +++ b/upptst/StdRichTextZoom/Test.h @@ -0,0 +1,16 @@ +#ifndef _Test_Test_h +#define _Test_Test_h + +#include + +using namespace Upp; + +#define LAYOUTFILE +#include + +class Test : public WithTestLayout { +public: + Test(); +}; + +#endif diff --git a/upptst/StdRichTextZoom/Test.lay b/upptst/StdRichTextZoom/Test.lay new file mode 100644 index 000000000..8aa5abe70 --- /dev/null +++ b/upptst/StdRichTextZoom/Test.lay @@ -0,0 +1,6 @@ +LAYOUT(TestLayout, 448, 292) + ITEM(Upp::Label, dv___0, SetLabel(t_("Standard size label")).LeftPosZ(4, 104).TopPosZ(4, 19)) + ITEM(Upp::Label, dv___1, SetLabel(t_("\001[g Standard size label QTF")).LeftPosZ(112, 156).TopPosZ(4, 19)) + ITEM(Upp::RichTextCtrl, text, LeftPosZ(280, 156).TopPosZ(4, 19)) +END_LAYOUT + diff --git a/upptst/StdRichTextZoom/main.cpp b/upptst/StdRichTextZoom/main.cpp new file mode 100644 index 000000000..87971f83d --- /dev/null +++ b/upptst/StdRichTextZoom/main.cpp @@ -0,0 +1,12 @@ +#include "Test.h" + +Test::Test() +{ + CtrlLayout(*this, "Window title"); + text <<= "[R This should be [g standard size"; +} + +GUI_APP_MAIN +{ + Test().Run(); +}