mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Added right padding to text in top bar of sections.
This commit is contained in:
parent
1a6b6e6084
commit
df66743c61
2 changed files with 5 additions and 2 deletions
|
@ -425,7 +425,10 @@ void TopBarWidget::paintTopBar(Painter &p) {
|
|||
auto nameleft = _leftTaken;
|
||||
auto nametop = st::topBarArrowPadding.top();
|
||||
auto statustop = st::topBarHeight - st::topBarArrowPadding.bottom() - st::dialogsTextFont->height;
|
||||
auto availableWidth = width() - _rightTaken - nameleft;
|
||||
auto availableWidth = width()
|
||||
- _rightTaken
|
||||
- nameleft
|
||||
- st::topBarNameRightPadding;
|
||||
|
||||
if (_chooseForReportReason) {
|
||||
const auto text = [&] {
|
||||
|
|
|
@ -639,7 +639,7 @@ topBarBackward: icon {{ "title_back", menuIconFg }};
|
|||
topBarForwardAlpha: 0.6;
|
||||
topBarBack: icon {{ "title_back", lightButtonFg }};
|
||||
topBarArrowPadding: margins(39px, 8px, 17px, 8px);
|
||||
topBarMinPadding: 5px;
|
||||
topBarNameRightPadding: 3px;
|
||||
topBarButton: RoundButton(defaultLightButton) {
|
||||
width: -18px;
|
||||
padding: margins(0px, 10px, 12px, 10px);
|
||||
|
|
Loading…
Add table
Reference in a new issue