Quote Originally Posted by eean View Post
Just tried that (added uicb.O->show() to the center macro above) and it has no effect. I don't see how this would be the issue since one widget is shown correctly.
Then maybe there is some problem with that custom widget?

Try something like this:
Qt Code:
  1. int main( int argc, char **argv )
  2. {
  3. QApplication app( argc, argv );
  4.  
  5. TimeSlider w;
  6. w.show();
  7.  
  8. return app.exec();
  9. }
To copy to clipboard, switch view to plain text mode 
to check whether this TimeSlider behaves correctly.

Quote Originally Posted by eean View Post
Its inserted into a splitter which is parented to the main window. So no, not really.
But splitters behave like layouts, so it should be OK.