Skip to content
Permalink
Browse files

Merge pull request #8077 from leoetlino/debugger-valign

Qt/Debugger: Fix register cell text vertical alignment
  • Loading branch information...
leoetlino committed May 17, 2019
2 parents dce056b + db159ec commit d3c4d278e2a795ab4aadbb6ed1dafcc826c03301
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
@@ -365,12 +365,12 @@ void RegisterWidget::AddRegister(int row, int column, RegisterType type, std::st

m_table->setItem(row, column, label);
m_table->setItem(row, column + 1, value);
m_table->item(row, column + 1)->setTextAlignment(Qt::AlignRight);
m_table->item(row, column + 1)->setTextAlignment(Qt::AlignVCenter | Qt::AlignRight);
}
else
{
m_table->setItem(row, column, value);
m_table->item(row, column)->setTextAlignment(Qt::AlignRight);
m_table->item(row, column)->setTextAlignment(Qt::AlignVCenter | Qt::AlignRight);
}

connect(this, &RegisterWidget::UpdateTable, [value] { value->RefreshValue(); });

0 comments on commit d3c4d27

Please sign in to comment.
You can’t perform that action at this time.