Browse Source

Better wording and text position

Signed-off-by: falkTX <falktx@falktx.com>
tags/2021-03-15
falkTX 3 years ago
parent
commit
4baf02191f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ports/vitalium/source/interface/editor_sections/about_section.cpp

+ 2
- 2
ports/vitalium/source/interface/editor_sections/about_section.cpp View File

@@ -47,7 +47,7 @@ AboutSection::AboutSection(const String& name) : Overlay(name), body_(Shaders::k
version_text_->setTextSize(12.0f);

fork_text_ = std::make_unique<PlainTextComponent>("About fork",
String("Original plugin by Matt Tytel\nVital fork by falkTX\nLogo design by unfa"));
String("Original Vital plugin by Matt Tytel\nVitalium fork by falkTX\nLogo design by unfa"));
addOpenGlComponent(fork_text_.get());
fork_text_->setFontType(PlainTextComponent::kLight);
fork_text_->setTextSize(14.0f);
@@ -138,7 +138,7 @@ void AboutSection::resized() {

version_text_->setBounds(info_rect.getX() + name_x, info_rect.getY() + padding_y + 76 * size_ratio_,
info_rect.getWidth() - name_x - kNameRightBuffer * size_ratio_, 32 * size_ratio_);
fork_text_->setBounds(info_rect.getX() + name_x, info_rect.getY() + padding_y + 110 * size_ratio_,
fork_text_->setBounds(info_rect.getX() + name_x/2, info_rect.getY() + padding_y + 110 * size_ratio_,
info_rect.getWidth() + name_x, 70 * size_ratio_);

int size_padding = 5 * size_ratio_;


Loading…
Cancel
Save