This code doesn't work though. Running it shows that widgets are not aligned/sized properly anymore. Will need fixing.