mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
int rightSkip) {
|
||||||
const auto parent = label->parentWidget();
|
const auto parent = label->parentWidget();
|
||||||
rpl::combine(
|
rpl::combine(
|
||||||
result->widthValue(),
|
label->geometryValue(),
|
||||||
button->sizeValue()
|
button->sizeValue()
|
||||||
) | rpl::start_with_next([=](int, QSize buttonSize) {
|
) | rpl::start_with_next([=](const QRect&, const QSize &buttonSize) {
|
||||||
const auto s = parent->size();
|
const auto s = parent->size();
|
||||||
button->moveToRight(
|
button->moveToRight(
|
||||||
rightSkip,
|
rightSkip,
|
||||||
|
|
Loading…
Add table
Reference in a new issue