Simplify the demo, make it more verbose
So people see how the API is used. using vectors of structs with parameters is very compact but is harder on the reader of a new API
This commit is contained in:
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
|
||||
KDDockWidgets::Config::self().setFlags(KDDockWidgets::Config::Flags() | KDDockWidgets::Config::Flag_HideTitleBarWhenTabsVisible | KDDockWidgets::Config::Flag_AlwaysShowTabs);
|
||||
|
||||
MyMainWindow mainWindow(options);
|
||||
mainWindow.resize(1000, 800);
|
||||
mainWindow.resize(1200, 1200);
|
||||
mainWindow.show();
|
||||
|
||||
return app.exec();
|
||||
|
||||
Reference in New Issue
Block a user