Julian Smart
b318dc4237
Applied patch [ 579219 ] wxNotebook:SetPadding added
...
This allows changing the padding of the icons and text
in the tab of a wxNotebook for wxGTK.
Since the container in the tab is only a horizontal
container only the width component is used. Negative
values are acceptable so no checks were made.
It now defaults to a padding of 0 on the sides and 1 in
between the icon and label, looks good for a few
"themes" I tried.
Note: Unfortunately there is no function to set the
padding on the left or right side of a widget.
gtk_box_set_child_packing sets padding on BOTH sides of
a widget so you'd get double the spacing between an
icon and the label. To get around this, the icon (if
there was one) is removed and added back. That way the
icon will provide the padding on the left and the label
will provide the padding between and to the right. It
looks nice for all sizes. The
gtk_container_set_border_width unforuntately only adds
borders to ALL sides equally.
A simple check is to add m_notebook->SetPadding in one
in the spinctrl callback in the controls sample. (set
appropriate range too -10,20). Note that the tab sizes
change to fit the width of the panel, if appropriate,
and so the spacing between the icon and label changes
accordingly. This isn't a bug, but it does look weird
as you scan up and down the spacing (which nobody would
normally do).
I also changed all wxGtkNotebookPage variables to
nb_page so that "int page" would be used to mean the
page number. Just cosmetic for consistency with the
rest of the functions that were already like that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:11:32 +00:00
..
2000-10-12 16:32:03 +00:00
2001-04-14 19:46:05 +00:00
2002-04-08 16:46:27 +00:00
1999-08-06 11:51:44 +00:00
1999-07-10 21:06:05 +00:00
2002-06-13 19:37:43 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-04-16 23:06:47 +00:00
2002-06-07 20:15:28 +00:00
2000-07-15 19:51:35 +00:00
2000-07-15 19:51:35 +00:00
2002-07-05 16:43:21 +00:00
2000-03-15 00:21:49 +00:00
2002-01-14 17:14:29 +00:00
2002-07-22 13:37:07 +00:00
2000-07-15 19:51:35 +00:00
1999-10-06 15:42:04 +00:00
1999-07-10 21:06:05 +00:00
2002-01-27 19:58:13 +00:00
2001-05-24 10:39:33 +00:00
2000-02-01 15:54:47 +00:00
2000-03-02 19:06:13 +00:00
2001-10-29 14:32:42 +00:00
2001-07-10 13:44:04 +00:00
1999-02-15 20:41:29 +00:00
2002-06-07 20:15:28 +00:00
2001-04-14 19:46:05 +00:00
2002-05-29 08:28:03 +00:00
2002-05-12 11:34:19 +00:00
2000-12-20 16:10:46 +00:00
2002-04-12 09:31:12 +00:00
2000-07-15 19:51:35 +00:00
2002-08-08 09:57:05 +00:00
2002-05-31 07:41:46 +00:00
1999-06-16 16:34:31 +00:00
2002-05-05 19:27:07 +00:00
2002-04-08 16:46:27 +00:00
2002-06-07 20:15:28 +00:00
2002-07-19 19:53:02 +00:00
2002-02-02 13:21:40 +00:00
2002-01-21 17:52:01 +00:00
2002-06-07 20:15:28 +00:00
2002-02-11 21:27:27 +00:00
2002-06-07 20:15:28 +00:00
2002-05-28 17:14:59 +00:00
2002-06-07 20:15:28 +00:00
2002-07-03 16:37:43 +00:00
1999-08-06 11:51:44 +00:00
1999-07-10 21:06:05 +00:00
1999-08-06 11:51:44 +00:00
1999-07-10 21:06:05 +00:00
2000-07-15 19:51:35 +00:00
1999-02-15 20:41:29 +00:00
2000-03-15 00:21:49 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2000-07-15 19:51:35 +00:00
2001-05-24 10:39:33 +00:00
2002-07-05 16:43:21 +00:00
2000-03-15 00:21:49 +00:00
2001-02-05 13:33:43 +00:00
2002-04-17 11:48:11 +00:00
2002-07-05 16:43:21 +00:00
2000-03-15 00:21:49 +00:00
2000-07-15 19:51:35 +00:00
2002-06-07 20:15:28 +00:00
2002-07-21 22:29:08 +00:00
2002-07-21 22:29:08 +00:00
2002-07-12 23:25:14 +00:00
2002-06-07 20:15:28 +00:00
2002-06-20 14:34:29 +00:00
2000-07-15 19:51:35 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
1999-11-08 16:38:17 +00:00
1999-08-06 11:51:44 +00:00
1999-07-10 21:06:05 +00:00
2000-07-15 19:51:35 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-05 16:30:13 +00:00
2002-05-05 14:24:07 +00:00
2002-06-07 20:15:28 +00:00
2000-07-15 19:51:35 +00:00
2002-07-05 16:43:21 +00:00
1999-02-15 20:41:29 +00:00
2002-06-07 20:15:28 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
2002-05-05 14:24:07 +00:00
2001-01-02 16:42:03 +00:00
2002-05-05 14:24:07 +00:00
2002-04-08 16:46:27 +00:00
2002-04-28 14:30:54 +00:00
2000-07-15 19:51:35 +00:00
2002-01-14 16:40:44 +00:00
2002-06-07 20:15:28 +00:00
2002-04-08 16:46:27 +00:00
2002-01-23 15:49:03 +00:00
2002-05-31 07:41:46 +00:00
2000-03-15 00:21:49 +00:00
2002-06-23 13:51:32 +00:00
2002-06-07 20:15:28 +00:00
2002-01-14 16:40:44 +00:00
2002-06-07 20:15:28 +00:00
2002-04-02 23:26:22 +00:00
2002-05-05 14:24:07 +00:00
2002-01-18 15:47:05 +00:00
1999-02-15 20:41:29 +00:00
2002-05-02 13:36:23 +00:00
2002-06-07 20:15:28 +00:00
2002-05-02 13:36:23 +00:00
2002-05-02 13:36:23 +00:00
2002-06-07 20:15:28 +00:00
2002-07-05 16:43:21 +00:00
2002-08-05 18:49:38 +00:00
2002-01-27 19:58:13 +00:00
2002-06-07 20:15:28 +00:00
2000-03-15 00:21:49 +00:00
2002-04-20 13:59:21 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2001-05-25 12:47:00 +00:00
1999-12-24 23:40:13 +00:00
2002-04-06 15:04:27 +00:00
2000-07-15 19:51:35 +00:00
2002-06-07 20:15:28 +00:00
2001-05-24 10:39:33 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2000-12-19 17:24:47 +00:00
2002-07-16 12:03:44 +00:00
2000-02-26 14:42:10 +00:00
1999-02-15 20:41:29 +00:00
2000-03-10 16:06:33 +00:00
2000-01-23 16:25:47 +00:00
2002-06-07 20:15:28 +00:00
2002-02-15 21:50:50 +00:00
2002-01-14 16:40:44 +00:00
2001-12-23 21:26:11 +00:00
2002-06-07 20:15:28 +00:00
2002-01-29 21:31:16 +00:00
2002-01-27 19:58:13 +00:00
2000-09-10 19:01:03 +00:00
2000-09-10 19:01:03 +00:00
2002-01-29 21:31:16 +00:00
2002-06-07 20:15:28 +00:00
1999-08-06 11:51:44 +00:00
1999-07-10 21:06:05 +00:00
2000-01-23 16:25:47 +00:00
2000-01-23 16:25:47 +00:00
2000-09-08 14:51:08 +00:00
2002-06-07 20:15:28 +00:00
2002-06-05 21:11:55 +00:00
2000-10-09 14:31:03 +00:00
2000-10-09 14:31:03 +00:00
2002-06-07 20:15:28 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2002-06-07 20:15:28 +00:00
2000-07-15 19:51:35 +00:00
2000-02-27 21:06:58 +00:00
2002-06-07 20:15:28 +00:00
2000-03-09 20:15:44 +00:00
2001-05-24 10:39:33 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-01-23 22:10:02 +00:00
2002-04-16 23:01:58 +00:00
2002-05-05 14:24:07 +00:00
2002-01-23 22:10:02 +00:00
2002-01-23 22:10:02 +00:00
2002-01-23 22:10:02 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2000-07-15 19:51:35 +00:00
2002-06-07 20:15:28 +00:00
2000-02-27 21:06:58 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-07-05 16:43:21 +00:00
2002-03-26 21:41:45 +00:00
2001-06-11 09:41:54 +00:00
2001-09-06 15:04:23 +00:00
1999-02-24 23:53:40 +00:00
2000-03-10 11:18:22 +00:00
2002-07-06 21:16:35 +00:00
2002-06-07 20:15:28 +00:00
1999-08-06 11:51:44 +00:00
1999-07-10 21:06:05 +00:00
2002-04-08 16:46:27 +00:00
2002-06-07 20:15:28 +00:00
2000-02-06 19:11:10 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-04-03 13:04:21 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-03-11 12:32:56 +00:00
2002-05-08 19:57:52 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-05-05 14:25:45 +00:00
2002-05-05 14:25:45 +00:00
2002-05-05 14:25:45 +00:00
2002-07-04 17:03:57 +00:00
2001-01-02 07:59:43 +00:00
2001-06-11 09:41:54 +00:00
2000-07-15 19:51:35 +00:00
2000-07-15 19:51:35 +00:00
2002-06-07 20:15:28 +00:00
2000-07-15 19:51:35 +00:00
2002-04-12 20:26:43 +00:00
2002-05-05 14:24:07 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
1999-02-15 20:41:29 +00:00
1999-02-28 13:58:05 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
2002-07-19 21:11:31 +00:00
2002-04-08 16:46:27 +00:00
2002-07-17 23:36:53 +00:00
2001-04-08 22:49:09 +00:00
2002-06-07 20:15:28 +00:00
2002-01-27 19:58:13 +00:00
2000-07-15 19:51:35 +00:00
2002-08-08 10:11:32 +00:00
2001-11-16 16:53:08 +00:00
2001-12-23 21:26:11 +00:00
2002-03-22 18:52:05 +00:00
2001-02-16 18:49:47 +00:00
2000-03-15 00:21:49 +00:00
2002-05-08 19:00:43 +00:00
1999-06-16 16:34:31 +00:00
2002-04-08 16:46:27 +00:00
2001-04-14 19:46:05 +00:00
2002-04-08 16:46:27 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
2000-12-20 16:10:46 +00:00
2000-03-15 00:21:49 +00:00
2002-06-07 20:15:28 +00:00
1999-02-15 20:41:29 +00:00
2001-05-24 16:03:25 +00:00
2002-07-09 08:33:57 +00:00
2002-06-07 20:15:28 +00:00
1999-02-15 20:41:29 +00:00
2002-06-07 20:15:28 +00:00
2002-07-27 18:14:42 +00:00
2002-02-15 21:50:50 +00:00
2001-04-25 11:06:38 +00:00
1999-12-25 20:30:32 +00:00
1999-12-25 20:30:32 +00:00
2000-01-23 16:25:47 +00:00
1999-12-25 20:30:32 +00:00
1999-12-25 20:30:32 +00:00
2000-01-23 16:25:47 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2002-05-12 11:10:24 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2002-03-26 12:50:05 +00:00
2000-07-15 19:51:35 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2002-06-07 20:15:28 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2002-01-23 22:10:02 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2000-03-15 00:21:49 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2000-10-09 14:31:03 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
2002-07-25 17:07:05 +00:00
1999-07-22 23:28:55 +00:00
1999-02-15 20:41:29 +00:00
2001-02-05 13:33:43 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-04-08 16:46:27 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
2000-07-15 19:51:35 +00:00
2002-01-27 19:58:13 +00:00
2000-02-06 19:11:10 +00:00
2002-08-08 09:57:05 +00:00
2002-08-08 09:57:05 +00:00
2000-03-15 00:21:49 +00:00
2002-06-07 20:15:28 +00:00
2002-07-09 23:34:31 +00:00
2002-07-09 23:34:31 +00:00
2002-07-09 23:34:31 +00:00
2002-05-05 09:35:44 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
1999-12-25 20:34:56 +00:00
2002-04-08 16:46:27 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-01-27 19:58:13 +00:00
2002-06-13 20:21:20 +00:00
2002-07-09 23:34:31 +00:00
2002-06-07 20:15:28 +00:00
2002-07-21 12:38:34 +00:00
2002-06-07 20:15:28 +00:00
2002-01-14 16:40:44 +00:00
2002-05-26 12:46:20 +00:00
2002-05-26 12:46:20 +00:00
2002-05-26 12:46:20 +00:00
2002-05-26 12:46:20 +00:00
2002-05-27 19:23:10 +00:00
2002-07-03 15:01:26 +00:00
2000-03-18 09:20:21 +00:00
2000-02-01 16:05:08 +00:00
2002-07-03 15:01:26 +00:00
2000-03-15 00:21:49 +00:00
2001-07-17 08:27:42 +00:00
2000-12-29 23:44:11 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2002-07-03 16:37:43 +00:00
2002-04-09 10:35:35 +00:00
2002-05-31 07:41:46 +00:00
2002-06-07 20:15:28 +00:00
2002-02-24 23:22:46 +00:00
2000-07-15 19:51:35 +00:00
1999-12-12 17:02:50 +00:00
1999-12-24 23:40:13 +00:00
2000-07-15 19:51:35 +00:00
2000-03-03 22:52:17 +00:00
2001-10-31 17:11:04 +00:00
2002-04-08 16:46:27 +00:00
2001-07-11 10:07:06 +00:00
2002-01-14 16:40:44 +00:00
1999-02-15 20:41:29 +00:00
1999-02-15 20:41:29 +00:00
2000-08-14 11:42:35 +00:00
2002-01-14 16:40:44 +00:00
2002-08-01 19:54:55 +00:00
2001-12-04 19:41:53 +00:00
2000-11-17 09:06:56 +00:00
2000-07-15 19:51:35 +00:00
2000-01-02 18:13:45 +00:00
2000-07-15 19:51:35 +00:00
2002-01-27 19:58:13 +00:00
1999-01-24 23:56:51 +00:00
2000-07-15 19:51:35 +00:00
2000-03-17 17:59:56 +00:00
1999-02-15 20:41:29 +00:00
2002-06-07 20:15:28 +00:00
2002-05-06 13:46:24 +00:00
2002-04-08 16:46:27 +00:00
1998-11-21 15:40:35 +00:00
2002-04-08 16:46:27 +00:00
2000-07-15 19:51:35 +00:00
2002-06-07 20:15:28 +00:00
2002-05-05 14:24:07 +00:00
2002-07-03 15:01:26 +00:00
2002-07-12 23:25:14 +00:00
2000-12-20 16:10:46 +00:00
2000-07-15 19:51:35 +00:00
2002-07-21 18:51:04 +00:00
2000-01-24 18:26:54 +00:00
2002-05-05 14:24:07 +00:00
2000-07-15 19:51:35 +00:00
2001-12-21 17:39:13 +00:00
2002-06-07 20:15:28 +00:00
2001-11-20 14:55:10 +00:00
2000-07-21 08:24:18 +00:00
2002-04-08 16:46:27 +00:00
2002-01-16 06:28:11 +00:00
2000-07-15 19:51:35 +00:00
1999-02-09 21:22:58 +00:00
2001-05-25 12:47:00 +00:00
2002-06-04 14:59:52 +00:00
2001-04-25 15:38:00 +00:00
2002-04-15 18:24:46 +00:00
1999-08-05 22:05:15 +00:00
2002-01-29 21:31:16 +00:00
1999-02-28 23:39:59 +00:00
2002-02-22 18:13:10 +00:00
2001-05-24 10:39:33 +00:00
2002-04-06 15:04:27 +00:00
2000-02-04 18:31:26 +00:00
2002-05-31 09:59:00 +00:00
2000-07-15 19:51:35 +00:00
2002-01-27 19:58:13 +00:00
1999-03-25 23:06:01 +00:00
2002-05-05 14:24:07 +00:00
2002-06-07 20:15:28 +00:00
2002-04-05 17:27:38 +00:00
2000-02-28 15:57:06 +00:00
2000-02-28 13:42:59 +00:00
2000-02-28 13:42:59 +00:00
2002-01-23 15:17:44 +00:00
2002-04-08 16:46:27 +00:00
2002-06-07 20:15:28 +00:00
2002-04-08 16:46:27 +00:00
2002-06-13 20:21:20 +00:00
2000-07-15 19:51:35 +00:00
2001-06-11 16:17:47 +00:00
1999-11-22 12:13:55 +00:00
2000-07-15 19:51:35 +00:00
2000-07-15 19:51:35 +00:00
2000-07-15 19:51:35 +00:00
2000-07-15 19:51:35 +00:00
2001-12-17 16:52:22 +00:00
2000-07-15 19:51:35 +00:00
2002-07-27 18:14:36 +00:00
2000-03-17 17:59:56 +00:00
2000-01-10 16:56:55 +00:00
2002-05-02 13:30:59 +00:00
2000-07-15 19:51:35 +00:00
2000-08-08 06:11:51 +00:00
2002-06-07 20:15:28 +00:00
1999-09-30 07:13:40 +00:00
2001-02-22 12:56:29 +00:00
2002-04-17 11:48:11 +00:00
2000-07-15 19:51:35 +00:00
2002-07-12 16:08:03 +00:00
2000-03-17 17:59:56 +00:00
2002-06-13 20:21:20 +00:00
1999-02-15 20:41:29 +00:00
2002-05-26 22:41:35 +00:00
2002-07-09 08:33:57 +00:00
2002-06-07 20:15:28 +00:00
2001-10-29 14:32:42 +00:00
2002-04-08 16:46:27 +00:00
2002-07-09 08:33:57 +00:00
2002-03-22 19:13:29 +00:00
2002-07-09 08:33:57 +00:00
2000-11-12 00:05:28 +00:00
2002-07-12 23:25:14 +00:00
2002-07-09 08:33:57 +00:00
2002-07-09 08:33:57 +00:00
2002-06-07 20:15:28 +00:00
2002-06-07 20:15:28 +00:00
2000-01-23 16:25:47 +00:00
2002-07-09 08:33:57 +00:00
2002-05-08 19:51:58 +00:00
2002-06-07 20:15:28 +00:00
2000-07-15 19:51:35 +00:00