2008-10-17 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #560882 * widgets/table/e-table-defines.h: * widgets/table/e-table-header-utils.c (e_table_header_draw_button): Left-align header labels instead of centering them, and adjust the header padding so they look purdy. svn path=/trunk/; revision=36792
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
/*
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) version 3.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with the program; if not, see <http://www.gnu.org/licenses/>
|
|
*
|
|
*
|
|
* Authors:
|
|
* Chris Lahey <clahey@ximian.com>
|
|
*
|
|
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
|
|
*
|
|
*/
|
|
|
|
#ifndef __E_TABLE_DEFINES__
|
|
#define __E_TABLE_DEFINES__ 1
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
#define BUTTON_HEIGHT 10
|
|
#define BUTTON_PADDING 2
|
|
#define GROUP_INDENT (BUTTON_HEIGHT + (BUTTON_PADDING * 2))
|
|
|
|
/* Padding around the contents of a header button */
|
|
#define HEADER_PADDING 3
|
|
|
|
#define MIN_ARROW_SIZE 10
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
#endif
|