From 632596bb6bb06e3d0a100a3cdd39f0aa8b5b8155 Mon Sep 17 00:00:00 2001 From: Palakis Date: Mon, 22 Jan 2018 14:00:41 +0100 Subject: [PATCH] UI: fix Multiview labels readability --- UI/window-projector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UI/window-projector.cpp b/UI/window-projector.cpp index cffa8f193..0ad9755ad 100644 --- a/UI/window-projector.cpp +++ b/UI/window-projector.cpp @@ -109,12 +109,12 @@ static OBSSource CreateLabel(const char *name, size_t h) #else obs_data_set_string(font, "face", "Monospace"); #endif - obs_data_set_int(font, "flags", 0); + obs_data_set_int(font, "flags", 1); // Bold text obs_data_set_int(font, "size", int(h / 9.81)); obs_data_set_obj(settings, "font", font); obs_data_set_string(settings, "text", text.c_str()); - obs_data_set_bool(settings, "outline", true); + obs_data_set_bool(settings, "outline", false); #ifdef _WIN32 const char *text_source_id = "text_gdiplus"; @@ -841,7 +841,7 @@ void OBSProjector::UpdateMultiview() name += " - "; name += obs_source_get_name(src); - multiviewLabels[curIdx + 2] = CreateLabel(name.c_str(), h / 4); + multiviewLabels[curIdx + 2] = CreateLabel(name.c_str(), h / 3); curIdx++; }