From 18dcb69f7a225a9d175c00a956fa132299689a6e Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 27 Sep 2021 13:51:51 +0300 Subject: Minor UI tweaks --- src/ui/documentwidget.c | 6 +++--- src/ui/root.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 5f7fcd8e..f5c3d6b6 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -3667,8 +3667,8 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e pushBackN_Array( &items, (iMenuItem[]){ - { "${menu.back}", navigateBack_KeyShortcut, "navigate.back" }, - { "${menu.forward}", navigateForward_KeyShortcut, "navigate.forward" }, + { backArrow_Icon " ${menu.back}", navigateBack_KeyShortcut, "navigate.back" }, + { forwardArrow_Icon " ${menu.forward}", navigateForward_KeyShortcut, "navigate.forward" }, { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, { "---" }, @@ -3683,7 +3683,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, { "---" }, { "${menu.page.copyurl}", 0, 0, "document.copylink" } }, - 15); + 16); if (isEmpty_Range(&d->selectMark)) { pushBackN_Array( &items, diff --git a/src/ui/root.c b/src/ui/root.c index a7058f49..7bc26511 100644 --- a/src/ui/root.c +++ b/src/ui/root.c @@ -1347,11 +1347,11 @@ void createUserInterface_Root(iRoot *d) { commandOnClick_WidgetFlag | drawBackgroundToBottom_WidgetFlag, iTrue); setId_Widget(addChildFlags_Widget(toolBar, - iClob(newLargeIcon_LabelWidget("\U0001f870", "navigate.back")), + iClob(newLargeIcon_LabelWidget(backArrow_Icon, "navigate.back")), frameless_WidgetFlag), "toolbar.back"); setId_Widget(addChildFlags_Widget(toolBar, - iClob(newLargeIcon_LabelWidget("\U0001f872", "navigate.forward")), + iClob(newLargeIcon_LabelWidget(forwardArrow_Icon, "navigate.forward")), frameless_WidgetFlag), "toolbar.forward"); setId_Widget(addChildFlags_Widget(toolBar, -- cgit v1.2.3