ultimatepp/uppdev/ScrollBug/main.cpp
cxl 4a1c627474 Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

20 lines
332 B
C++

#include "ScrollBug.h"
ScrollBug::ScrollBug()
{
CtrlLayout(*this, "Window title");
tab.Add(edit.SizePos(), "Edit");
tab.Add("Empty");
for(int i = 0; i < 16000; i++)
edit.Insert(0, Format("Line %d\n", 16000 - i));
Sizeable().Zoomable();
}
GUI_APP_MAIN
{
Ctrl::ShowRepaint = 30;
ScrollBug().Run();
}