Browse Source

Vitalium: Use padding around logo in header section

Fixes #70

Signed-off-by: falkTX <falktx@falktx.com>
tags/2021-03-15
falkTX 7 months ago
parent
commit
f207ef6a54
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ports/vitalium/source/interface/editor_sections/header_section.cpp

+ 1
- 1
ports/vitalium/source/interface/editor_sections/header_section.cpp View File

@@ -80,7 +80,7 @@ LogoSection::LogoSection() : SynthSection("logo_section") {
}

void LogoSection::resized() {
int logo_padding_y = kLogoPaddingY * size_ratio_;
int logo_padding_y = kLogoPaddingY * size_ratio_ * 4;
int logo_height = getHeight() - 2 * logo_padding_y;
int logo_padding_x = (getWidth() - logo_height) / 2;
if (logo_button_)


Loading…
Cancel
Save