Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 245623 Details for
Bug 436655
[GTK3] Layout problem makes a group invisible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
gtk frame patch
gtkframe_labelwidth.patch (text/plain), 1.18 KB, created by
Marc-André Laperle
on 2014-08-01 00:53:23 EDT
(
hide
)
Description:
gtk frame patch
Filename:
MIME Type:
Creator:
Marc-André Laperle
Created:
2014-08-01 00:53:23 EDT
Size:
1.18 KB
patch
obsolete
>From 31d5961d354dcd8d3070a9b830b436e0edb4107e Mon Sep 17 00:00:00 2001 >From: Marc-Andre Laperle <malaperle@gmail.com> >Date: Fri, 1 Aug 2014 00:42:57 -0400 >Subject: [PATCH] GtkFrame: Fix width calculation of label > >--- > gtk/gtkframe.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c >index 7bb0d18..28bb726 100644 >--- a/gtk/gtkframe.c >+++ b/gtk/gtkframe.c >@@ -770,6 +770,7 @@ gtk_frame_size_allocate (GtkWidget *widget, > gtk_widget_get_preferred_width (priv->label_widget, NULL, &nat_width); > width = new_allocation.width - 2 * LABEL_PAD - 2 * LABEL_SIDE_PAD; > width = MIN (width, nat_width); >+ width = MAX (1, width); > > gtk_widget_get_preferred_height_for_width (priv->label_widget, width, > &height, NULL); >@@ -823,6 +824,7 @@ gtk_frame_real_compute_child_allocation (GtkFrame *frame, > width -= (border_width * 2) + padding.left + padding.right; > > width = MIN (width, nat_width); >+ width = MAX (1, width); > > gtk_widget_get_preferred_height_for_width (priv->label_widget, width, > &height, NULL); >-- >1.8.3.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 436655
:
243962
|
244016
| 245623