From 3ae5614e9e8b5ad5f346a6ea43a2fd514e55f318 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 12 Mar 2019 06:46:58 +0100 Subject: Add configuration of tab label (ellipsis, size) --- config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 64fa5d6..9202a1e 100644 --- a/config.h +++ b/config.h @@ -8,6 +8,18 @@ */ #define BADWOLF_TAB_POSITION GTK_POS_TOP +// BADWOLF_TAB_LABEL_CHARWIDTH: Amount of characters the tab label text fits +#define BADWOLF_TAB_LABEL_CHARWIDTH 26 + +/* BADWOLF_TAB_LABEL_ELLIPSIZE: pango ellipsize mode of the tab label text, can be one of: + * - PANGO_ELLIPSIZE_NONE + * - PANGO_ELLIPSIZE_START + * - PANGO_ELLIPSIZE_MIDDLE + * - PANGO_ELLIPSIZE_END + * + * See https://developer.gnome.org/pango/stable/pango-Layout-Objects.html#PangoEllipsizeMode + */ + // BADWOLF_BOX_PADDING: Amount of padding between browser’s box (tab child) elements #define BADWOLF_BOX_PADDING 0 -- cgit v1.3.1-26-gb76a