Tested now and it works here:
LC 's textshift does exactly what it *can* do (with the primitive typesetting
system of HTML which it uses):
[1] It takes the baseline, moves the chunk relative to that up or down, leaving
the surrounding text on that baseline.
[2] After that it gives the
Right out from my head, can not test at the moment.
The hard way: The direct input of the htmltext should always work (as long as
your on one line with the chunk).
wordOne put me down wordThree" -- down
wordOne put me down wordThree" -- up
If I remember right "sup" instead of "sub" (what work
On 1/14/2016 10:05 PM, Scott Rossi wrote:
The reality is, one should be able to designate a chunk of text and
move it up or down any distance, independently of the surrounding
text. Currently you can't do that.
It might be time for a bug report. What you expect seems pretty
realistic to me.
ing by manipulating the
> margins of the field as well as the textShift.
>
> I did a test with 2 basic fields - one containing the text and the other
> the value I wanted to adjust the textshift by...
>
> Contents of fld 1
>
> word1 word2 word3
> word1 word2 word3
ield as well as the textShift.
>
>I did a test with 2 basic fields - one containing the text and the other
>the value I wanted to adjust the textshift by...
>
>Contents of fld 1
>
>word1 word2 word3
>word1 word2 word3
>
>word1 word2 word3
>
>
>Script of fld 2
Hi Scott - I think you might be able to do something by manipulating the
margins of the field as well as the textShift.
I did a test with 2 basic fields - one containing the text and the other
the value I wanted to adjust the textshift by...
Contents of fld 1
word1 word2 word3
word1 word2 word3
Thanks Bernd, but if I understand what you're suggesting, I've already
tried this and it doesn't appear to work. Using different textShift
values for the selected text and surrounding text just seems to average
out, always moving text upward, never downward.
Regards,
Scott
Hi Scott,
the following works for me in 7.0.6
textSize 14, textheight 28, fixed lineHeight
e.g.
-
set the textShift of char 1 to - 1 of field 1 to -9
-
then a slider with values from - 9 to - 3
on scrollbarDrag pValue
set the textShift of word 2 of line 1 of field 1 to
Unfortunately, what textShift *should* be doing, and what's it's actually
doing are two different things. Trying my simple test stack in 5.5, 6.7.8,
and 8 dp 11 shows the same behavior, so apparently this has been broken
forever. TextShift should never adjust the lines around a sele
On 1/14/2016 4:27 PM, Scott Rossi wrote:
Anyone have any insight on getting textShift to shift text downward?
I need to vertically align blocks text on a line that use different fonts.
Whether I select a block of text, or all the text around the selection,
things shift up, but never down.
A
Anyone have any insight on getting textShift to shift text downward?
I need to vertically align blocks text on a line that use different fonts.
Whether I select a block of text, or all the text around the selection,
things shift up, but never down.
Here's a simple stack that demonstrate
border at the top of the icon and not setting the
textshift.
I think I should probably submit this as a bug since I can easily attach
the stack. Seems like it works of other folks but obviously there's
something in my stack that causes it to not work.
Pete
lcSQL Software <http://www.lc
image shift down when the
line of code that sets the textshift executes. Stepping through with
5.0.2, the image doesn't move when the same line is executed. I've also
had a tester report the same issue with and earlier version of LC (4.5)
I guess some other property could be affecting t
sets the textshift executes. Stepping through with
5.0.2, the image doesn't move when the same line is executed. I've also
had a tester report the same issue with and earlier version of LC (4.5)
I guess some other property could be affecting the behavior but there's
something differ
On 8/10/12 11:43 AM, Peter Haworth wrote:
I'm using the textshift property to align icons inserted by setting the
imagesource of a character in a line of text. All the development work was
done using 5.5 and all worked fine. Recently, I ran the application on 5.0
and setting the textshif
'textShift' has been around since version 1.0
> Is textshift supported in 5.0? I suspect it is a property that was introduced
> after 5.0.
>
> Bob
___
use-livecode mai
Is textshift supported in 5.0? I suspect it is a property that was introduced
after 5.0.
Bob
On Aug 10, 2012, at 9:43 AM, Peter Haworth wrote:
> I'm using the textshift property to align icons inserted by setting the
> imagesource of a character in a line of text. All the devel
I'm using the textshift property to align icons inserted by setting the
imagesource of a character in a line of text. All the development work was
done using 5.5 and all worked fine. Recently, I ran the application on 5.0
and setting the textshift had no effect.
This is probably not a
Jackie,
Thanks for your input. I assume you mean getting the textShift on 2 or more
characters when you mention a "text run". That would make sense.
Thanks,
Ray
-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On
On 3/29/11 6:37 PM, Ray Horsley wrote:
Somehow on of our users ended up with a character in a field with a
textShift value of "mixed". I thought this value had to be a negative or
positive integer (or zero). Anybody know how such a value got there?
If it's a text run, each cha
Somehow on of our users ended up with a character in a field with a
textShift value of "mixed". I thought this value had to be a negative or
positive integer (or zero). Anybody know how such a value got there?
Thanks,
Ray
___
us
21 matches
Mail list logo