[SOLVED] Setting the border of a text frame?

Previous topic - Next topic

hjh

Hi

how do I set the border of a text frame? For example to 'none'?

I dot not find anything related to this in the API documentation.
https://impagina.org/scribus-scripter-api/frame-properties/

Maybe I have to create a customlinestyle

https://impagina.org/scribus-scripter-api/other-style/#createcustomlinestyle

and assign it to the text frame? But how would I do that?


Or just set the line width to 0?
https://impagina.org/scribus-scripter-api/frame-properties/
setLineWidth(width, ["name"])
--Hannes

a.l.e

As far as I can tell, Scribus does not have the concept of "no border".

If you set the line to 0, then you will get an "hairline" border (you can try it in the console: you will see that, then, the properties palette shows the value as "hairline").

If you look at how the text frames are created by default, you will see that the color of the border is set to "transparent".

This seems the way Scribus does "no borders"... (somehow, I always did this way, but never had any thoughts about it...)