OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
stacklayout.cpp
Go to the documentation of this file.
1#include "stacklayout.h"
2
3#include <Tempest/Widget>
4
7
8void StackLayout::applyLayout() {
9 auto& w = *owner();
10 size_t count=w.widgetsCount();
11
12 for(size_t i=0;i<count;++i){
13 auto& wx=w.widget(i);
14 wx.setGeometry(0,0,w.w(),w.h());
15 }
16 }