Set QVBoxLayout and QLabel in full size in main window without spacing or border
Unsolved
General and Desktop
-
Hi everyone I am making media player and have QLabel in wich will be displaying video and that label inserted in QVBoxLayout. QVBoxLayout not in full size and it have spaces between QVBoxLayout and edge of main window.I want that it will be like for example in VLC media player.
-
Hi and welcome to the forums
Its the layouts default content margin
Layout->setContentsMargins(0,0,0,0);
and can also be done in Designer -
Hi and welcome to the forums
Its the layouts default content margin
Layout->setContentsMargins(0,0,0,0);
and can also be done in Designer -
@mrjj Thanks but they are already all set to zero and heve that space which I pointed in screenshot
-
@mrjj Thanks that was answer you helped me.I also I had to set margins to zero in QGridLayout