GUI: mobile padding

This commit is contained in:
tildearrow 2022-12-02 19:09:43 -05:00
parent 2741167331
commit e7cfde9a2b

View file

@ -3284,6 +3284,10 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
sty.FrameShading=(float)settings.guiColorsShading/100.0f; sty.FrameShading=(float)settings.guiColorsShading/100.0f;
} }
if (mobileUI) {
sty.FramePadding=ImVec2(8.0f,6.0f);
}
sty.ScaleAllSizes(dpiScale); sty.ScaleAllSizes(dpiScale);
ImGui::GetStyle()=sty; ImGui::GetStyle()=sty;