summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index ab3b11cf..12c5e847 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -325,7 +325,7 @@ iBool setMode_SidebarWidget(iSidebarWidget *d, enum iSidebarMode mode) {
325 for (enum iSidebarMode i = 0; i < max_SidebarMode; i++) { 325 for (enum iSidebarMode i = 0; i < max_SidebarMode; i++) {
326 setFlags_Widget(as_Widget(d->modeButtons[i]), selected_WidgetFlag, i == d->mode); 326 setFlags_Widget(as_Widget(d->modeButtons[i]), selected_WidgetFlag, i == d->mode);
327 } 327 }
328 const float heights[max_SidebarMode] = { 2.333f, 1.333f, 1.333f, 3.5f, 1.2f }; 328 const float heights[max_SidebarMode] = { 1.333f, 2.333f, 1.333f, 3.5f, 1.2f };
329 setBackgroundColor_Widget(as_Widget(d->list), 329 setBackgroundColor_Widget(as_Widget(d->list),
330 d->mode == documentOutline_SidebarMode ? tmBannerBackground_ColorId 330 d->mode == documentOutline_SidebarMode ? tmBannerBackground_ColorId
331 : uiBackground_ColorId); 331 : uiBackground_ColorId);
@@ -344,16 +344,16 @@ int width_SidebarWidget(const iSidebarWidget *d) {
344} 344}
345 345
346static const char *normalModeLabels_[max_SidebarMode] = { 346static const char *normalModeLabels_[max_SidebarMode] = {
347 "\U00002605 Feeds",
348 "\U0001f588 Bookmarks", 347 "\U0001f588 Bookmarks",
348 "\U00002605 Feeds",
349 "\U0001f553 History", 349 "\U0001f553 History",
350 "\U0001f464 Identities", 350 "\U0001f464 Identities",
351 "\U0001f5b9 Outline", 351 "\U0001f5b9 Outline",
352}; 352};
353 353
354static const char *tightModeLabels_[max_SidebarMode] = { 354static const char *tightModeLabels_[max_SidebarMode] = {
355 "\U00002605",
356 "\U0001f588", 355 "\U0001f588",
356 "\U00002605",
357 "\U0001f553", 357 "\U0001f553",
358 "\U0001f464", 358 "\U0001f464",
359 "\U0001f5b9", 359 "\U0001f5b9",