GUI: mobile padding

This commit is contained in:
tildearrow 2022-12-02 19:09:43 -05:00
parent 2741167331
commit e7cfde9a2b
1 changed files with 4 additions and 0 deletions

View File

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