From 31a5b9499688341353b3946dca208adc67560d2e Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 29 Nov 2021 12:31:40 +0200 Subject: Fixed shfiting position of the "New Tab" button IssueID #403 --- src/ui/root.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui/root.c') diff --git a/src/ui/root.c b/src/ui/root.c index 5b1167d8..f25dfbca 100644 --- a/src/ui/root.c +++ b/src/ui/root.c @@ -1317,7 +1317,8 @@ void createUserInterface_Root(iRoot *d) { setBackgroundColor_Widget(buttons, uiBackground_ColorId); } setId_Widget( - addChild_Widget(buttons, iClob(newIcon_LabelWidget(add_Icon, 0, 0, "tabs.new"))), + addChildFlags_Widget(buttons, iClob(newIcon_LabelWidget(add_Icon, 0, 0, "tabs.new")), + moveToParentRightEdge_WidgetFlag), "newtab"); } /* Sidebars. */ { -- cgit v1.2.3