mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Added right padding to text in top bar of sections.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user