mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-24 14:33:02 +02:00
Improve layout in suggested price box.
This commit is contained in:
parent
c83bae3bb5
commit
6f305c8974
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ void ChooseSuggestPriceBox(
|
|||
button.geometry = QRect(QPoint(x, y), r.size());
|
||||
x += r.width() + st::giftBoxTabSkip;
|
||||
}
|
||||
const auto buttons = box->addRow(object_ptr<Ui::RpWidget>(box));
|
||||
const auto buttons = box->addRow(
|
||||
object_ptr<Ui::RpWidget>(box),
|
||||
(st::boxRowPadding
|
||||
- QMargins(padding.left() / 2, 0, padding.right() / 2, 0)));
|
||||
const auto height = y
|
||||
+ state->buttons.back().geometry.height()
|
||||
+ st::giftBoxTabsMargin.bottom();
|
||||
|
|
Loading…
Add table
Reference in a new issue