mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fixed update of width for usernames label in profile section as well.
This commit is contained in:
parent
73f38c896f
commit
e00e562b5f
1 changed files with 2 additions and 0 deletions
|
@ -1184,6 +1184,7 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
|||
usernameLine.text->parentWidget(),
|
||||
st::infoProfileLabeledButtonQr);
|
||||
fitLabelToButton(qrButton, usernameLine.text);
|
||||
fitLabelToButton(qrButton, usernameLine.subtext);
|
||||
qrButton->setClickedCallback([=] {
|
||||
controller->show(
|
||||
Box(Ui::FillPeerQrBox, user, std::nullopt, nullptr));
|
||||
|
@ -1260,6 +1261,7 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
|||
linkLine.text->parentWidget(),
|
||||
st::infoProfileLabeledButtonQr);
|
||||
fitLabelToButton(qr, linkLine.text);
|
||||
fitLabelToButton(qr, linkLine.subtext);
|
||||
qr->setClickedCallback([=, peer = _peer] {
|
||||
controller->show(
|
||||
Box(Ui::FillPeerQrBox, peer, std::nullopt, nullptr));
|
||||
|
|
Loading…
Add table
Reference in a new issue