Without showing some code, it will be difficult to say what is wrong. Are you using a horizontal layout to manage the three widgets? Which widget do you want to expand? The one in the middle, all of them? Are they all push buttons? It looks like the one in the middle could be a QTextEdit?

A screenshot doesn't tell us much. Is that what you see? Is it what you want to see?