mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 10:58:51 +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
|
// check if we already filled this grid space with label/value
|
||||||
if (!registerLayout->itemAtPosition(i, col)) {
|
if (!registerLayout->itemAtPosition(i, col)) {
|
||||||
registerLabel = new QLabel;
|
registerLabel = new QLabel;
|
||||||
registerLabel->setAlignment(Qt::AlignRight);
|
registerLabel->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
|
||||||
registerLabel->setFixedWidth(70);
|
registerLabel->setMaximumWidth(60);
|
||||||
registerLabel->setStyleSheet("font-weight: bold; font-family: mono;");
|
registerLabel->setStyleSheet("font-weight: bold; font-family: mono;");
|
||||||
registerEditValue = new QLineEdit;
|
registerEditValue = new QLineEdit;
|
||||||
registerEditValue->setFixedWidth(140);
|
registerEditValue->setFixedWidth(140);
|
||||||
|
Loading…
Reference in New Issue
Block a user