Skip to content

Commit

Permalink
Qt: cosmetic debugger UI adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
fleroviux committed Dec 28, 2023
1 parent 079232d commit 14dff18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/platform/qt/src/widget/background_viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ BackgroundViewer::BackgroundViewer(nba::CoreBase* core, QWidget* parent) : QWidg
const auto group_box = new QGroupBox{};
group_box->setLayout(grid);
group_box->setTitle(tr("Background"));
group_box->setMinimumWidth(220);

info_vbox->addWidget(group_box);
}
Expand Down Expand Up @@ -100,6 +101,7 @@ BackgroundViewer::BackgroundViewer(nba::CoreBase* core, QWidget* parent) : QWidg
const auto group_box = new QGroupBox{};
group_box->setLayout(grid);
group_box->setTitle(tr("Tile"));
group_box->setMinimumWidth(220);

info_vbox->addWidget(group_box);

Expand Down
2 changes: 1 addition & 1 deletion src/platform/qt/src/widget/sprite_viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ SpriteViewer::SpriteViewer(nba::CoreBase* core, QWidget* parent) : QWidget{paren
QGroupBox* box = new QGroupBox{};
box->setTitle("Object Attributes");
QGridLayout* grid = new QGridLayout{};
box->setMinimumWidth(230);
box->setMinimumWidth(220);

int row = 0;

Expand Down

0 comments on commit 14dff18

Please sign in to comment.