View Issue Details

IDProjectCategoryView StatusLast Update
0001096ScribusGraphics / Image Framespublic2025-03-13 15:17
Reporterpacketbell Assigned Tonitramr  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
PlatformallOSallOS Versionall
Product Version1.3 
Target Version1.7 milestone 
Summary0001096: Picture frame padding
DescriptionThe ability to add precise amounts of white space between the frame border and the picture itself, similar to the shape properties for a text box (distance from top, bottom, left, right).
TagsNo tags attached.
PatchNo

Relationships

related to 0015893 assignedale Margin for images 

Activities

cbradney

2004-09-19 21:16

administrator   ~0002425

Well, we have the Contour line, but specifying shape distances for anything but rectangular is a difficult task, although possible. See what you think of Contour lines.

packetbell

2004-09-19 22:55

reporter   ~0002430

Actually, the padding would be the distance from the frame border to the frame contents, to create a bit of white space between (for instance) a photograph and the border that surrounds it.
Should be possible even the frame is irregular, because the shape is identical.

mkoren

2006-05-08 21:53

reporter   ~0011115

Seems to me the same fields used for text should be enabled here. This would at least make sense for images scaled to the frame size.

For free scaling images wouldn't it also make sense to be able to set a basepoint for the coordinates (in Properties:Image)? E.g. refer to upper right corner instead of upper left.

aliB

2009-07-15 11:12

reporter   ~0022188

The UI would be more consequent if you'd just allow to use the same fields as you use for textframes already.
This makes even sense, when the image is not scaled to framesize!

You just have to change the caption to "space between content"

pygmee

2009-07-20 22:45

developer   ~0022217

duplicate with 8275 ?

hammeredklavier

2009-07-23 16:18

reporter   ~0022236

I found the way Scribus handles the "standard box model" odd - it might be worth making it more straightforward to add margins and padding to text and graphics frames, basically in the same way as in CSS. I can't help thinking it ought to be a bit easier to put a standard amount of white space between my pictures and the text body.

Kunda

2015-10-09 19:59

updater   ~0036588

the target version was obsolete so I bumped it.
Perhaps this will get addressed by avox via ScribusCTL

nitramr

2025-03-09 21:09

developer   ~0052194

I'm working on an implementation.

The idea is to have a numeric input in the shape section to define a distance between the shape and the text.
- 4 inputs if bounding box mode is used
- 1 input for all other modes

The distance calculation is using the QPathStroker to generate the new "margin" path. It differs from the scale function of the nodes edit palette.
At the moment, it is not possible to have a negative stroking. And because of the QPathStroker the path is not quite smooth anymore.

Here is a first result. The light blue box visualize the distance.
textflow.png (202,995 bytes)   
textflow.png (202,995 bytes)   

pygmee

2025-03-12 22:08

developer   ~0052204

That sounds good to me. I guess we’d have to define use cases to be more precise, but most of the layout will work with your proposal. What i see :
- most of the frames are usually rectangular. So using a single field to have a quick margin around in shape mode is good enough. Those who want custom margin on each side may use bounding box.
- other frame shapes might not need 4 inputs, because they should have one / side.

Another possible behavior would be to activate a tool mode that would allow to create the margin on-canvas by moving the side.
We can see there might be some troubles with acute shapes. People may still be able to use contour mode if necessary.
Do you plan to keep contour mode untouched with point window ?

Issue History

Date Modified Username Field Change
2004-09-17 18:27 packetbell New Issue
2004-09-19 21:16 cbradney Note Added: 0002425
2004-09-19 22:55 packetbell Note Added: 0002430
2005-05-08 17:54 plinnell Severity tweak => feature
2005-05-08 17:54 plinnell Product Version 1.2 => 1.3
2006-04-12 22:09 mhanski OS => all
2006-04-12 22:09 mhanski OS Version => all
2006-04-12 22:09 mhanski Platform => all
2006-05-06 22:45 mhanski Status new => feedback
2006-05-08 21:53 mkoren Note Added: 0011115
2009-07-15 11:12 aliB Note Added: 0022188
2009-07-17 21:47 plinnell Status feedback => acknowledged
2009-07-17 21:47 plinnell Target Version => 1.5.0svn
2009-07-20 22:45 pygmee Note Added: 0022217
2009-07-23 16:18 hammeredklavier Note Added: 0022236
2015-09-17 20:10 Kunda Category Graphics / Image Frames => Graphics/Img Frames
2015-09-17 20:11 Kunda Category Graphics/Img Frames => Graphics / Image Frames
2015-10-09 19:59 Kunda Patch => No
2015-10-09 19:59 Kunda Note Added: 0036588
2015-10-09 19:59 Kunda Target Version 1.5.0svn => 1.6 milestone
2025-03-09 20:58 nitramr Assigned To => nitramr
2025-03-09 20:58 nitramr Status acknowledged => assigned
2025-03-09 20:58 nitramr Target Version 1.6 milestone => 1.7 milestone
2025-03-09 21:09 nitramr Note Added: 0052194
2025-03-09 21:09 nitramr File Added: textflow.png
2025-03-12 22:08 pygmee Note Added: 0052204
2025-03-13 15:17 ale Relationship added related to 0015893