[scribus-dev] The vertical distance between the first line and the first character

Ibrahim Al Rashdi ibrahimalrashdi745 at gmail.com
Sun Nov 8 07:42:04 UTC 2015


Hi Greg

Sorry I did not get it
How I can undo adjust an image frame to align text in text frame?

Ibrahim


2015-11-08 0:35 GMT+04:00 Gregory Pittman <gpittman at iglou.com>:

> On 11/07/2015 02:41 PM, Ibrahim Al Rashdi wrote:
> > Hello,
> >
> > I am solving now the issue http://bugs.scribus.net/view.php?id=12154 .
> >
> > As it is explained that Adjust Frame Height to Text does not work
> > probably if the text in the middle or in the bottom. I found a function
> > in pageitem_textframe.cpp called setTextFrameHeight() . This function
> > receive maxY as new height and reduce the frame height.
> >
> > I suggested to get two variables (one for the height from the beginning
> > of the frame to the last line of the text and the other from the
> > beginning of the frame to the first character in the text) and subtract
> > them to get the proper height.
> >
> > I added a variable that get the height to the last line in the text but
> > still I couldn’t find a way to get the height from the beginning of the
> > frame to the first character of the text. can you give me an idea how to
> > do it.
> >
>
> A problem that I have with this bug is that I don't understand why
> someone would do this sequence of actions. What would be the goal?
> Perhaps the answer to this bug is for the user to click Undo a number of
> times to get back to some previous state, then start again.
>
> If you Adjust Image to Frame, then want to adjust the X-Pos, Y-Pos of
> the image in the frame, you have to undo Adjust Image to Frame and
> switch to Free Scaling.
>
> Greg
>
>
> _______________________________________________
> scribus-dev mailing list
> scribus-dev at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20151108/19055335/attachment.html>


More information about the scribus-dev mailing list