diff options
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); |