adjust some too pruning QLayout::setContentsMargins

This commit is contained in:
Garux
2024-01-30 02:56:56 +06:00
parent 6995ef0eb4
commit 454660c3e8
3 changed files with 4 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ void EntityList_constructWindow( QWidget* main_window ){
g_guiSettings.addWindow( window, "EntityList/geometry", 350, 500 );
{
auto *vbox = new QVBoxLayout( window );
vbox->setContentsMargins( 0, 0, 0, 0 );
vbox->setContentsMargins( 4, 0, 4, 4 );
{
auto *tree = getEntityList().m_tree_view = new QTreeView;
tree->setHeaderHidden( true );