Unsolved Set QVBoxLayout and QLabel in full size in main window without spacing or border
-
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 -
@mrjj Thanks but they are already all set to zero and heve that space which I pointed in screenshot
-
@CubeEd
Ok
Even the first picture of the form, has margins.
you set to zero in code ? -
@mrjj Thanks that was answer you helped me.I also I had to set margins to zero in QGridLayout
-
@CubeEd
ok super
so it was a margin somewhere? -
@mrjj Yes in QGridLayout