From 963ad5fad6905a94c077246b8045e139e1139fc8 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 10 Apr 2021 13:44:46 +0300 Subject: SidebarWidget: Action button fonts --- src/ui/window.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/window.c') diff --git a/src/ui/window.c b/src/ui/window.c index 642bcba5..d00d19a7 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -151,8 +151,10 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) { else if (deviceType_App() == phone_AppDeviceType && equal_Command(cmd, "window.resized")) { /* Place the sidebar next to or under doctabs depending on orientation. */ iSidebarWidget *sidebar = findChild_Widget(root, "sidebar"); + iSidebarWidget *sidebar2 = findChild_Widget(root, "sidebar2"); removeChild_Widget(parent_Widget(sidebar), sidebar); setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); + setButtonFont_SidebarWidget(sidebar2, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); // setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"), // isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId // : uiBackgroundSidebar_ColorId); -- cgit v1.2.3