Browse Source

UI: fix Multiview labels readability

Palakis 7 years ago
parent
commit
632596bb6b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      UI/window-projector.cpp

+ 3 - 3
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++;
 	}