diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-10 13:44:46 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-10 13:44:46 +0300 |
commit | 963ad5fad6905a94c077246b8045e139e1139fc8 (patch) | |
tree | 7d93c36f74c0237a88ec0260738a6dafb3713d61 /src/ui/window.c | |
parent | 5f76f3ce15b166c91534b6fb05f50ac2b413044a (diff) |
SidebarWidget: Action button fonts
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { | |||
151 | else if (deviceType_App() == phone_AppDeviceType && equal_Command(cmd, "window.resized")) { | 151 | else if (deviceType_App() == phone_AppDeviceType && equal_Command(cmd, "window.resized")) { |
152 | /* Place the sidebar next to or under doctabs depending on orientation. */ | 152 | /* Place the sidebar next to or under doctabs depending on orientation. */ |
153 | iSidebarWidget *sidebar = findChild_Widget(root, "sidebar"); | 153 | iSidebarWidget *sidebar = findChild_Widget(root, "sidebar"); |
154 | iSidebarWidget *sidebar2 = findChild_Widget(root, "sidebar2"); | ||
154 | removeChild_Widget(parent_Widget(sidebar), sidebar); | 155 | removeChild_Widget(parent_Widget(sidebar), sidebar); |
155 | setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); | 156 | setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); |
157 | setButtonFont_SidebarWidget(sidebar2, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); | ||
156 | // setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"), | 158 | // setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"), |
157 | // isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId | 159 | // isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId |
158 | // : uiBackgroundSidebar_ColorId); | 160 | // : uiBackgroundSidebar_ColorId); |