mirror of https://github.com/procxx/kepka.git
Fixed inline message restriction width
This commit is contained in:
parent
261a83eda3
commit
883d6dcede
|
@ -97,6 +97,7 @@ void Inner::checkRestrictedPeer() {
|
|||
_restrictedLabel.create(this, *error, st::stickersRestrictedLabel);
|
||||
_restrictedLabel->show();
|
||||
_restrictedLabel->move(st::inlineResultsLeft - st::buttonRadius, st::stickerPanPadding);
|
||||
_restrictedLabel->resizeToNaturalWidth(width() - (st::inlineResultsLeft - st::buttonRadius) * 2);
|
||||
if (_switchPmButton) {
|
||||
_switchPmButton->hide();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue