Skip to content

Commit 941b62e

Browse files
committed
FullscreenUI: Slight tweak to font weights
Improves readability on low-dpi displays.
1 parent 9a8d9d7 commit 941b62e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core/fullscreenui_game_list.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,8 +745,8 @@ void FullscreenUI::DrawGameGrid(const ImVec2& heading_size)
745745
const bool show_titles = Host::GetBaseBoolSettingValue("Main", "FullscreenUIShowGridTitles", true);
746746
const bool show_localized_titles = GameList::ShouldShowLocalizedTitles();
747747

748-
const float title_font_size = UIStyle.MediumFontSize;
749-
const float title_font_weight = UIStyle.BoldFontWeight;
748+
const float title_font_size = UIStyle.MediumLargeFontSize;
749+
const float title_font_weight = UIStyle.NormalFontWeight;
750750
const float avail_width = ImGui::GetContentRegionAvail().x;
751751
const float title_spacing = LayoutScale(10.0f);
752752
const float item_width_with_spacing = std::floor(avail_width / 5.0f);

src/core/fullscreenui_widgets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ void FullscreenUI::DrawFullscreenFooter()
14871487

14881488
ImFont* const font = UIStyle.Font;
14891489
const float font_size = UIStyle.MediumFontSize;
1490-
const float font_weight = UIStyle.BoldFontWeight;
1490+
const float font_weight = UIStyle.NormalFontWeight;
14911491
const float max_width = io.DisplaySize.x - padding * 2.0f;
14921492

14931493
float prev_opacity = 0.0f;

0 commit comments

Comments
 (0)