mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Fixed margins of copy buttons in RTMP info.
This commit is contained in:
parent
789c829bc2
commit
00c4ab197d
2 changed files with 5 additions and 1 deletions
|
@ -1367,8 +1367,10 @@ groupCallRtmpCopyButton: RoundButton(defaultActiveButton) {
|
||||||
width: -26px;
|
width: -26px;
|
||||||
|
|
||||||
textTop: 7px;
|
textTop: 7px;
|
||||||
padding: margins(0px, 12px, 0px, 15px);
|
|
||||||
}
|
}
|
||||||
|
groupCallRtmpCopyButtonTopSkip: 12px;
|
||||||
|
groupCallRtmpCopyButtonBottomSkip: 15px;
|
||||||
|
|
||||||
groupCallRtmpShowButton: IconButton(defaultIconButton) {
|
groupCallRtmpShowButton: IconButton(defaultIconButton) {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
|
|
@ -248,7 +248,9 @@ void StartRtmpProcess::FillRtmpRows(
|
||||||
QGuiApplication::clipboard()->setText(state->url.current());
|
QGuiApplication::clipboard()->setText(state->url.current());
|
||||||
showToast(tr::lng_group_call_rtmp_url_copied(tr::now));
|
showToast(tr::lng_group_call_rtmp_url_copied(tr::now));
|
||||||
}));
|
}));
|
||||||
|
Settings::AddSkip(container, st::groupCallRtmpCopyButtonTopSkip);
|
||||||
const auto weak = container->add(std::move(wrap), rowPadding);
|
const auto weak = container->add(std::move(wrap), rowPadding);
|
||||||
|
Settings::AddSkip(container, st::groupCallRtmpCopyButtonBottomSkip);
|
||||||
button->heightValue(
|
button->heightValue(
|
||||||
) | rpl::start_with_next([=](int height) {
|
) | rpl::start_with_next([=](int height) {
|
||||||
weak->resize(weak->width(), height);
|
weak->resize(weak->width(), height);
|
||||||
|
|
Loading…
Add table
Reference in a new issue