mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
21 lines
405 B
C++
21 lines
405 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
ArrayCtrl a;
|
|
a.AddColumn("A", 100);
|
|
a.AddColumn("B", 100);
|
|
a.HeaderObject().Absolute();
|
|
a.SpanWideCells();
|
|
|
|
a.Add("This is very very long line...");
|
|
a.Add("This is long line, but the next column is not empty", 12);
|
|
a.Add("Short line");
|
|
|
|
TopWindow win;
|
|
win.Sizeable();
|
|
win.Add(a.SizePos());
|
|
win.Run();
|
|
}
|