summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-31 07:43:49 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-31 07:43:49 +0200
commit7d0d4a6821644a73fc52b54eba6774ba5a64cb54 (patch)
tree489d7ad74c7a3e900053f5a514444a497cdb7c4e /src/ui/util.c
parent8269e07885b433b578c5ede8fba4af62c830268e (diff)
Preferences: Changed apperance of tabs
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 3c40d4a5..44f7e089 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -924,7 +924,7 @@ static iWidget *appendTwoColumnPage_(iWidget *tabs, const char *title, int short
924 iWidget **values) { 924 iWidget **values) {
925 iWidget *page = new_Widget(); 925 iWidget *page = new_Widget();
926 setFlags_Widget(page, arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag | 926 setFlags_Widget(page, arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag |
927 resizeHeightOfChildren_WidgetFlag, iTrue); 927 resizeHeightOfChildren_WidgetFlag | borderTop_WidgetFlag, iTrue);
928 addChildFlags_Widget(page, iClob(new_Widget()), expand_WidgetFlag); 928 addChildFlags_Widget(page, iClob(new_Widget()), expand_WidgetFlag);
929 iWidget *columns = new_Widget(); 929 iWidget *columns = new_Widget();
930 addChildFlags_Widget(page, iClob(columns), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag); 930 addChildFlags_Widget(page, iClob(columns), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag);
@@ -934,6 +934,10 @@ static iWidget *appendTwoColumnPage_(iWidget *tabs, const char *title, int short
934 columns, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); 934 columns, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag);
935 addChildFlags_Widget(page, iClob(new_Widget()), expand_WidgetFlag); 935 addChildFlags_Widget(page, iClob(new_Widget()), expand_WidgetFlag);
936 appendTabPage_Widget(tabs, page, title, shortcut, shortcut ? KMOD_PRIMARY : 0); 936 appendTabPage_Widget(tabs, page, title, shortcut, shortcut ? KMOD_PRIMARY : 0);
937 setFlags_Widget(
938 (iWidget *) back_ObjectList(children_Widget(findChild_Widget(tabs, "tabs.buttons"))),
939 frameless_WidgetFlag,
940 iTrue);
937 return page; 941 return page;
938} 942}
939 943