Horizontal scroll of rightAligned text faulty?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Horizontal scroll of rightAligned text faulty?

Post by [-hh] » Thu Sep 12, 2013 2:17 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 12:15 pm, edited 1 time in total.
shiftLock happens

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: Horizontal scroll of rightAligned text faulty?

Post by bn » Thu Sep 12, 2013 3:51 pm

Hi -hh,

Livecode has problems with right align in certain situations e.g. tab fields with vGrid set to true and apparently as you found out with list fields also.

Usually in a left to right language I would assume that list fields are left aligned.

But here you go: a widget (hack) for a right aligned list field. Please note the properties of the objects and the scripts.

rightAlignedListField.livecode.zip
(2.43 KiB) Downloaded 285 times
kind regards
Bernd

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Horizontal scroll of rightAligned text faulty?

Post by [-hh] » Thu Sep 12, 2013 8:08 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 12:14 pm, edited 1 time in total.
shiftLock happens

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10354
Joined: Wed May 06, 2009 2:28 pm

Re: Horizontal scroll of rightAligned text faulty?

Post by dunbarx » Thu Sep 12, 2013 9:51 pm

Odd.

Of greater concern to me is that with a field right aligned, it is not possible to shift text that extends beyond the limits of the field by setting the cursor and dragging. In other words, if one has overwide text in a field with "dontWrap" set to "true, with left align you can set the cursor somewhere in the middle of the field, and then click-drag to either side, and any hidden text will be "shifted" into view. This is not possible with right align.

Craig Newman

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: Horizontal scroll of rightAligned text faulty?

Post by bn » Fri Sep 13, 2013 9:20 am

Hi HH

I wholeheartedly agree that LC needs a way to display columnar data with a mix of alignments.
That was what I alluded to with tabbed data.

However I meant list field in the LC sense.
A list where you click on a line and some action takes place.

Kind regards
Bernd

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Horizontal scroll of rightAligned text faulty?

Post by [-hh] » Sat Sep 14, 2013 2:38 pm

..........
Last edited by [-hh] on Sun Sep 15, 2013 10:18 am, edited 1 time in total.
shiftLock happens

Post Reply