mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Center label vertically in registers
This commit is contained in:
parent
c869a34d99
commit
6a87b342d7
@ -66,8 +66,8 @@ void RegistersWidget::setRegisterGrid()
|
||||
// check if we already filled this grid space with label/value
|
||||
if (!registerLayout->itemAtPosition(i, col)) {
|
||||
registerLabel = new QLabel;
|
||||
registerLabel->setAlignment(Qt::AlignRight);
|
||||
registerLabel->setFixedWidth(70);
|
||||
registerLabel->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
|
||||
registerLabel->setMaximumWidth(60);
|
||||
registerLabel->setStyleSheet("font-weight: bold; font-family: mono;");
|
||||
registerEditValue = new QLineEdit;
|
||||
registerEditValue->setFixedWidth(140);
|
||||
|
Loading…
Reference in New Issue
Block a user