Wt get resolution of viewport
I need to get resolution of viewport. I found out how to get resolution of current screen but thats not what I am looking for.
Thank you very much for help
The easiest way is to put a layout manager on WApplication::root(), and then use WWidget::setLayoutSizeAware() in order to get updated when the size of the viewport changes.