mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-23 00:19:40 +08:00
[chore] adjust main window title font size
This commit is contained in:
@@ -30,6 +30,7 @@ int Render::LocalWindow() {
|
|||||||
ImGui::SetCursorPos(
|
ImGui::SetCursorPos(
|
||||||
ImVec2(io.DisplaySize.x * 0.045f, io.DisplaySize.y * 0.02f));
|
ImVec2(io.DisplaySize.x * 0.045f, io.DisplaySize.y * 0.02f));
|
||||||
|
|
||||||
|
ImGui::SetWindowFontScale(0.9f);
|
||||||
ImGui::TextColored(
|
ImGui::TextColored(
|
||||||
ImVec4(0.0f, 0.0f, 0.0f, 0.5f), "%s",
|
ImVec4(0.0f, 0.0f, 0.0f, 0.5f), "%s",
|
||||||
localization::local_desktop[localization_language_index_].c_str());
|
localization::local_desktop[localization_language_index_].c_str());
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ int Render::RecentConnectionsWindow() {
|
|||||||
ImGui::SetCursorPos(
|
ImGui::SetCursorPos(
|
||||||
ImVec2(io.DisplaySize.x * 0.045f, io.DisplaySize.y * 0.02f));
|
ImVec2(io.DisplaySize.x * 0.045f, io.DisplaySize.y * 0.02f));
|
||||||
|
|
||||||
|
ImGui::SetWindowFontScale(0.9f);
|
||||||
ImGui::TextColored(
|
ImGui::TextColored(
|
||||||
ImVec4(0.0f, 0.0f, 0.0f, 0.5f), "%s",
|
ImVec4(0.0f, 0.0f, 0.0f, 0.5f), "%s",
|
||||||
localization::recent_connections[localization_language_index_].c_str());
|
localization::recent_connections[localization_language_index_].c_str());
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ int Render::RemoteWindow() {
|
|||||||
ImGui::SetCursorPos(
|
ImGui::SetCursorPos(
|
||||||
ImVec2(io.DisplaySize.x * 0.057f, io.DisplaySize.y * 0.02f));
|
ImVec2(io.DisplaySize.x * 0.057f, io.DisplaySize.y * 0.02f));
|
||||||
|
|
||||||
|
ImGui::SetWindowFontScale(0.9f);
|
||||||
ImGui::TextColored(
|
ImGui::TextColored(
|
||||||
ImVec4(0.0f, 0.0f, 0.0f, 0.5f), "%s",
|
ImVec4(0.0f, 0.0f, 0.0f, 0.5f), "%s",
|
||||||
localization::remote_desktop[localization_language_index_].c_str());
|
localization::remote_desktop[localization_language_index_].c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user