View Issue Details

IDProjectCategoryView StatusLast Update
0016675ScribusScripterpublic2021-11-03 19:33
Reporterwillsonlin Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
OSWindowsOS Version8 
Product Version1.5.8.svn 
Summary0016675: setLineWidth() unable to change the height of lines as shown in the Properties panel
DescriptionI'm creating a script to make lined paper for notebooks,I want to creating a series of lines that has fixed gaps between them,also I want to change the tkickness of these lines to 0.176mm.So I wrote the following script:
import scribus
for i in range(0,3):
  lines = scribus.createLine(0,i*(8+0.176),172,i*(8+0.176))
  scribus.setLineWidth(0.176,lines)
However, the setLineWidth() function seems not work as expected,when I selected one line of them,open Properties panel,the height of this line is still 0.353mm,not changed.
TagsNo tags attached.
PatchNo

Activities

jghali

2021-11-03 19:32

administrator   ~0049329

The setLineWidth() function modifies the stroke line width as specified in properties palette "Line" tab. It has no influence on the item height or width. It works as expected.

Issue History

Date Modified Username Field Change
2021-11-03 10:58 willsonlin New Issue
2021-11-03 19:32 jghali Note Added: 0049329
2021-11-03 19:33 jghali Assigned To => jghali
2021-11-03 19:33 jghali Status new => resolved
2021-11-03 19:33 jghali Resolution open => no change required
2021-11-03 19:33 jghali Status resolved => closed