Improved rotatable label appearance with differing font renderers
This commit is contained in:
@@ -137,7 +137,7 @@ namespace Bloom
|
|||||||
auto* targetRegisterButtonLayout = this->targetRegistersButton->findChild<QVBoxLayout*>();
|
auto* targetRegisterButtonLayout = this->targetRegistersButton->findChild<QVBoxLayout*>();
|
||||||
auto* registersBtnLabel = new RotatableLabel(270, "Registers", this->targetRegistersButton);
|
auto* registersBtnLabel = new RotatableLabel(270, "Registers", this->targetRegistersButton);
|
||||||
registersBtnLabel->setObjectName("target-registers-btn-label");
|
registersBtnLabel->setObjectName("target-registers-btn-label");
|
||||||
registersBtnLabel->setContentsMargins(4, 4, 10, 0);
|
registersBtnLabel->setContentsMargins(4, 4, 10, 2);
|
||||||
targetRegisterButtonLayout->insertWidget(0, registersBtnLabel, 0, Qt::AlignTop);
|
targetRegisterButtonLayout->insertWidget(0, registersBtnLabel, 0, Qt::AlignTop);
|
||||||
|
|
||||||
this->bottomMenuBar = this->container->findChild<QWidget*>("bottom-menu-bar");
|
this->bottomMenuBar = this->container->findChild<QWidget*>("bottom-menu-bar");
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ namespace Bloom::Widgets
|
|||||||
|
|
||||||
} else if (this->angle % 90 == 0) {
|
} else if (this->angle % 90 == 0) {
|
||||||
size.setHeight(textSize.width());
|
size.setHeight(textSize.width());
|
||||||
size.setWidth(textSize.height());
|
size.setWidth(this->width());
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
auto angle = this->angle;
|
auto angle = this->angle;
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#target-memory-inspection-pane #rh-side-bar #manage-memory-snapshots-btn #label {
|
#target-memory-inspection-pane #rh-side-bar #manage-memory-snapshots-btn #label {
|
||||||
qproperty-bottomMargin: 4;
|
qproperty-bottomMargin: 2;
|
||||||
color: #999a9d;
|
color: #999a9d;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user