summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/sidebarwidget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 96c9ebd8..98570471 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -211,7 +211,7 @@ void init_SidebarWidget(iSidebarWidget *d) {
211 iTrue); 211 iTrue);
212 d->scrollY = 0; 212 d->scrollY = 0;
213 d->mode = -1; 213 d->mode = -1;
214 d->width = 75 * gap_UI; 214 d->width = 60 * gap_UI;
215 init_Array(&d->items, sizeof(iSidebarItem)); 215 init_Array(&d->items, sizeof(iSidebarItem));
216 d->hoverItem = iInvalidPos; 216 d->hoverItem = iInvalidPos;
217 init_Click(&d->click, d, SDL_BUTTON_LEFT); 217 init_Click(&d->click, d, SDL_BUTTON_LEFT);
@@ -221,7 +221,7 @@ void init_SidebarWidget(iSidebarWidget *d) {
221 d->modeButtons[i] = addChildFlags_Widget( 221 d->modeButtons[i] = addChildFlags_Widget(
222 w, 222 w,
223 iClob( 223 iClob(
224 new_LabelWidget(normalModeLabels_[i], 0, 0, format_CStr("sidebar.mode arg:%d", i))), 224 new_LabelWidget(tightModeLabels_[i], 0, 0, format_CStr("sidebar.mode arg:%d", i))),
225 frameless_WidgetFlag | expand_WidgetFlag); 225 frameless_WidgetFlag | expand_WidgetFlag);
226 d->maxButtonLabelWidth = 226 d->maxButtonLabelWidth =
227 iMaxi(d->maxButtonLabelWidth, 227 iMaxi(d->maxButtonLabelWidth,