Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
4f59bb34
Commit
4f59bb34
authored
Feb 28, 2011
by
Michael Natterer
😴
Browse files
Bug 581338 - Layer size does not change using the pdb 'gimp-text-layer-resize'
Fix the fix: use box-unit, not unit, for the box extents.
parent
3bf3aa55
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/pdb/text-layer-cmds.c
View file @
4f59bb34
...
...
@@ -1112,10 +1112,10 @@ text_layer_resize_invoker (GimpProcedure *procedure,
_
(
"Set text layer attribute"
),
"box-mode"
,
GIMP_TEXT_BOX_FIXED
,
"box-width"
,
gimp_pixels_to_units
(
width
,
text
->
unit
,
text
->
box_
unit
,
xres
),
"box-height"
,
gimp_pixels_to_units
(
height
,
text
->
unit
,
text
->
box_
unit
,
yres
),
NULL
);
}
...
...
tools/pdbgen/pdb/text_layer.pdb
View file @
4f59bb34
...
...
@@ -1185,10 +1185,10 @@ HELP
_("Set text layer attribute"),
"box-mode", GIMP_TEXT_BOX_FIXED,
"box-width", gimp_pixels_to_units (width,
text->unit,
text->
box_
unit,
xres),
"box-height", gimp_pixels_to_units (height,
text->unit,
text->
box_
unit,
yres),
NULL);
}
...
...
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