summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index afc05da9..2f7a2988 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -131,9 +131,12 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) {
131 iSidebarWidget *sidebar = findChild_Widget(root, "sidebar"); 131 iSidebarWidget *sidebar = findChild_Widget(root, "sidebar");
132 removeChild_Widget(parent_Widget(sidebar), sidebar); 132 removeChild_Widget(parent_Widget(sidebar), sidebar);
133 setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId); 133 setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : uiLabelLarge_FontId);
134 setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"), 134// setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"),
135 isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId 135// isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId
136 : uiBackground_ColorId); 136// : uiBackgroundSidebar_ColorId);
137 setFlags_Widget(findChild_Widget(as_Widget(sidebar), "buttons"),
138 borderTop_WidgetFlag,
139 isPortrait_App());
137 if (isLandscape_App()) { 140 if (isLandscape_App()) {
138 addChildPos_Widget(findChild_Widget(root, "tabs.content"), iClob(sidebar), front_WidgetAddPos); 141 addChildPos_Widget(findChild_Widget(root, "tabs.content"), iClob(sidebar), front_WidgetAddPos);
139 setWidth_SidebarWidget(sidebar, 73 * gap_UI); 142 setWidth_SidebarWidget(sidebar, 73 * gap_UI);