summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-12 14:31:48 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-12 14:31:48 +0300
commitfc6f5c1e0d72042a274ce7b33b9f04f7cad7de77 (patch)
tree2bc10e742fa1062404c64fd50f55f17059dc0496 /src/ui/window.c
parent77156d7405351e4bc3e4e5f36f60bc914decade9 (diff)
Mobile: Sidebar tweaks
Adjusted font sizes and action buttons moved to the top.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index b1df3805..970eeeac 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -153,8 +153,8 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) {
153 iSidebarWidget *sidebar = findChild_Widget(root, "sidebar"); 153 iSidebarWidget *sidebar = findChild_Widget(root, "sidebar");
154 iSidebarWidget *sidebar2 = findChild_Widget(root, "sidebar2"); 154 iSidebarWidget *sidebar2 = findChild_Widget(root, "sidebar2");
155 removeChild_Widget(parent_Widget(sidebar), sidebar); 155 removeChild_Widget(parent_Widget(sidebar), sidebar);
156 setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); 156 setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : defaultBig_FontId);
157 setButtonFont_SidebarWidget(sidebar2, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); 157 setButtonFont_SidebarWidget(sidebar2, isLandscape_App() ? uiLabel_FontId : defaultBig_FontId);
158// setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"), 158// setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"),
159// isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId 159// isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId
160// : uiBackgroundSidebar_ColorId); 160// : uiBackgroundSidebar_ColorId);