mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
Remove random + 5 for width and height. If people want padding, they
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkviewport.c (gtk_viewport_size_request): Remove random + 5 for width and height. If people want padding, they should add padding. (Note the +5 isn't padding that will always appear - it just appears in the case where the widget is allocated it's requisition.) (#51018, Janet Davis)
This commit is contained in:
parent
92d5e4b2c7
commit
44934dca38
@ -1,3 +1,12 @@
|
||||
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
|
||||
random + 5 for width and height. If people want padding,
|
||||
they should add padding. (Note the +5 isn't padding
|
||||
that will always appear - it just appears in the case
|
||||
where the widget is allocated it's requisition.)
|
||||
(#51018, Janet Davis)
|
||||
|
||||
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
|
||||
random + 5 for width and height. If people want padding,
|
||||
they should add padding. (Note the +5 isn't padding
|
||||
that will always appear - it just appears in the case
|
||||
where the widget is allocated it's requisition.)
|
||||
(#51018, Janet Davis)
|
||||
|
||||
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
|
||||
random + 5 for width and height. If people want padding,
|
||||
they should add padding. (Note the +5 isn't padding
|
||||
that will always appear - it just appears in the case
|
||||
where the widget is allocated it's requisition.)
|
||||
(#51018, Janet Davis)
|
||||
|
||||
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
|
||||
random + 5 for width and height. If people want padding,
|
||||
they should add padding. (Note the +5 isn't padding
|
||||
that will always appear - it just appears in the case
|
||||
where the widget is allocated it's requisition.)
|
||||
(#51018, Janet Davis)
|
||||
|
||||
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
|
||||
random + 5 for width and height. If people want padding,
|
||||
they should add padding. (Note the +5 isn't padding
|
||||
that will always appear - it just appears in the case
|
||||
where the widget is allocated it's requisition.)
|
||||
(#51018, Janet Davis)
|
||||
|
||||
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
|
||||
random + 5 for width and height. If people want padding,
|
||||
they should add padding. (Note the +5 isn't padding
|
||||
that will always appear - it just appears in the case
|
||||
where the widget is allocated it's requisition.)
|
||||
(#51018, Janet Davis)
|
||||
|
||||
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
|
||||
random + 5 for width and height. If people want padding,
|
||||
they should add padding. (Note the +5 isn't padding
|
||||
that will always appear - it just appears in the case
|
||||
where the widget is allocated it's requisition.)
|
||||
(#51018, Janet Davis)
|
||||
|
||||
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
|
||||
|
@ -602,10 +602,10 @@ gtk_viewport_size_request (GtkWidget *widget,
|
||||
bin = GTK_BIN (widget);
|
||||
|
||||
requisition->width = (GTK_CONTAINER (widget)->border_width +
|
||||
GTK_WIDGET (widget)->style->xthickness) * 2 + 5;
|
||||
GTK_WIDGET (widget)->style->xthickness) * 2;
|
||||
|
||||
requisition->height = (GTK_CONTAINER (widget)->border_width * 2 +
|
||||
GTK_WIDGET (widget)->style->ythickness) * 2 + 5;
|
||||
GTK_WIDGET (widget)->style->ythickness) * 2;
|
||||
|
||||
if (bin->child && GTK_WIDGET_VISIBLE (bin->child))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user