Skip to content

Commit

Permalink
WelcomeTab: Final UI adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
simsekgokhan committed Mar 22, 2019
1 parent e34f24e commit be89b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/robomongo/gui/widgets/workarea/WelcomeTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace Robomongo
QString const Rss_LastModifiedDateKey("wtRssLastModifiedDate");

auto const TEXT_TO_TAB_RATIO = 0.6;
auto const IMAGE_TO_TAB_RATIO = 0.5;
auto const IMAGE_TO_TAB_RATIO = 0.25;
auto const BLOG_TO_TAB_RATIO = 0.28;

/* ------------------------------------- Welcome Tab --------------------------------------- */
Expand Down Expand Up @@ -472,7 +472,7 @@ namespace Robomongo
_whatsNewHeader->setText(WhatsNew.arg(leftOfStr));
_whatsNewText->setText(rightOfStr);
auto const SIXTY_PERCENT_OF_TAB = _parent->width() * TEXT_TO_TAB_RATIO;
_whatsNewText->setMinimumWidth(SIXTY_PERCENT_OF_TAB);
_whatsNewText->setMaximumWidth(SIXTY_PERCENT_OF_TAB);
adjustSize();
}

Expand Down

0 comments on commit be89b5c

Please sign in to comment.