Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
94dc872f
Commit
94dc872f
authored
Feb 03, 2006
by
Matthias Clasen
Browse files
Fix padding handling
parent
afab67f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
94dc872f
2006-02-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (get_layout_location): Fix handling
of padding in RTL. (#329099, Hooman Mesgary)
2006-02-02 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
...
...
ChangeLog.pre-2-10
View file @
94dc872f
2006-02-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (get_layout_location): Fix handling
of padding in RTL. (#329099, Hooman Mesgary)
2006-02-02 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
...
...
gtk/gtklabel.c
View file @
94dc872f
...
...
@@ -2237,9 +2237,7 @@ get_layout_location (GtkLabel *label,
if
(
gtk_widget_get_direction
(
widget
)
==
GTK_TEXT_DIR_LTR
)
x
=
MAX
(
x
,
widget
->
allocation
.
x
+
misc
->
xpad
);
else
x
=
MIN
(
x
,
widget
->
allocation
.
x
+
widget
->
allocation
.
width
-
req_width
-
misc
->
xpad
);
x
=
MIN
(
x
,
widget
->
allocation
.
x
+
widget
->
allocation
.
width
-
misc
->
xpad
);
y
=
floor
(
widget
->
allocation
.
y
+
(
gint
)
misc
->
ypad
+
MAX
(((
widget
->
allocation
.
height
-
widget
->
requisition
.
height
)
*
misc
->
yalign
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment