mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Scale cosmetic UI elements with DPI.
This commit is contained in:
parent
0de3e088d9
commit
8eee82b0ce
@ -128,9 +128,9 @@ int main( int argc, char** argv )
|
||||
|
||||
ImGui::StyleColorsDark();
|
||||
auto& style = ImGui::GetStyle();
|
||||
style.WindowBorderSize = 1.f;
|
||||
style.FrameBorderSize = 1.f;
|
||||
style.FrameRounding = 5.f;
|
||||
style.WindowBorderSize = 1.f * dpiScale;
|
||||
style.FrameBorderSize = 1.f * dpiScale;
|
||||
style.FrameRounding = 5.f * dpiScale;
|
||||
style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.11f, 0.11f, 0.08f, 0.94f );
|
||||
style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 1, 1, 1, 0.03f );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user