mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fixed width of username label with button for QR in profiles.
This commit is contained in:
parent
2532a0ff59
commit
7ea6c6c84b
1 changed files with 2 additions and 2 deletions
|
@ -1241,9 +1241,9 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
|||
int rightSkip) {
|
||||
const auto parent = label->parentWidget();
|
||||
rpl::combine(
|
||||
result->widthValue(),
|
||||
label->geometryValue(),
|
||||
button->sizeValue()
|
||||
) | rpl::start_with_next([=](int, QSize buttonSize) {
|
||||
) | rpl::start_with_next([=](const QRect&, const QSize &buttonSize) {
|
||||
const auto s = parent->size();
|
||||
button->moveToRight(
|
||||
rightSkip,
|
||||
|
|
Loading…
Add table
Reference in a new issue