Fixed left padding of text in resolving phone menu item.

This commit is contained in:
23rd
2025-12-22 10:22:05 +03:00
committed by John Preston
parent 89b15142ef
commit e1248ba0b2

View File

@@ -191,7 +191,7 @@ void ResolvePhoneAction::paint(Painter &p) {
- _shadowPadding;
_below.draw(p, Ui::Text::PaintContext{
.position = QPoint(
(w - _below.countLineWidths(w).front()) / 4,
padding.left(),
(height - _below.countHeight(w)) / 2),
.outerWidth = w,
.availableWidth = w,