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

@@ -1237,6 +1237,7 @@ QWidget* EntityInspector_constructWindow( QWidget* toplevel ){
{
// key/value entry
auto grid = new QGridLayout;
grid->setContentsMargins( 4, 0, 4, 0 );
vbox->addLayout( grid );
{
grid->addWidget( new QLabel( "Key" ), 0, 0 );
@@ -1284,6 +1285,7 @@ QWidget* EntityInspector_constructWindow( QWidget* toplevel ){
}
{
auto hbox = new QHBoxLayout;
hbox->setContentsMargins( 4, 0, 4, 0 );
vbox->addLayout( hbox );
{
auto b = new QPushButton( "Clear All" );