r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Henrik
9-Jan-2006
[3842x3]
if you don't want any auto resizability, then MAIN-COL should be 
set to NONE, but this isn't tested thoroughly yet. The point is that 
in my lists, I mostly have some data columns that need to be short 
and then one long description column. It fits very well to have only 
that column to be resizable, plus the rows always neatly fits horizontally 
to the list view size.


Later I'll implement your much wanted system for horizontal scrolling 
and in that mode, MAIN-COL won't be needed as the list will take 
up the amount of width that it needs. Then it'll work more like a 
standard list.
list-demo.r quickfix. now always downloads latest list-view.r
0.0.18 uploaded. Only small changes:

      Fix: SCR initialization bug
      Fix: Demo Lab now always downloads the latest list-view.r

      Fix: If MAIN-COL is NONE, then the first column will be resized.
      New: Decoration in the upper right corner button

No new docs today.
Graham
9-Jan-2006
[3845x2]
http://www.hmkdesign.dk/rebol/list-view/list-view.r
How can one send the cursor to the end of an area field ?  ie. reposition 
the caret ?
Anton
9-Jan-2006
[3847x2]
Look inside FOCUS
view layout [f: field "hello" btn "focus" [system/view/focal-face: 
f system/view/caret: tail f/text show f]]
Graham
9-Jan-2006
[3849]
Ok, thanks Anton.
Henrik
10-Jan-2006
[3850]
0.0.19 uploaded.

Changes:


      Fix: Rewrote docs to be much clearer, with more images and better 
      flow
      Fix: APPEND-ROW properly works during filtering
      Fix: MAIN-COL calculation was accidentally broken
      Fix: EDITABLE? is now default FALSE by popular request
      New: Easy column reordering with IN-COLS and OUT-COLS

    Main file is available at:
    http://www.hmkdesign.dk/rebol/list-view/list-view.r
    Demo and testcases available at:
    http://www.hmkdesign.dk/rebol/list-view/list-demo.r
    Docs are available in makedoc2 format at:
    http://www.hmkdesign.dk/rebol/list-view/list-view.txtand
    http://www.hmkdesign.dk/rebol/list-view/list-view.html
Graham
10-Jan-2006
[3851]
There's some debugging probes still present.
Henrik
10-Jan-2006
[3852x2]
urgh... hang on
fixed
Graham
10-Jan-2006
[3854x3]
and the print statements as well.
How do I align the list headers with the column data ?
I've got this

			in-cols: [IPAddress Port User State ?]
			out-cols: [ User State ?]
			data: []
			scr-width: 15
			colors: reduce [snow snow gold]
			row-face: [
      			across space 0
      				list-text 50x15
      				list-text 40x15 left
      				list-text 10x15 red right
    		]
[unknown: 9]
10-Jan-2006
[3857]
Very cool.  Nicely done.
Henrik
11-Jan-2006
[3858x5]
aligning column headers with list data doesn't work yet when using 
a custom row face. there are apparently still issues with MAIN-COL 
and it really wants to autoadjust the column width. otherwise the 
solution would be to just provide a set of pixel widths. I'll see 
what I can do about this.
print statements removed
sigh... it seems that column width calculations for pixel values 
is entirely broken. I hope to finally properly fix this for 0.0.20.
0.0.20 uploaded.

Changes:
      Fix: Documentation errors and updated images

      New: Visual indication of when the combined width of all columns 
      is smaller than the list width
      New: Fixed width columns finally work!
      New: FIT flag to enable/disable width fitting with MAIN-COL
graham, it should be possible to place the headers with pixel accuracy 
now
Graham
11-Jan-2006
[3863x3]
Henrik, the alignment is much better, but I'm still not getting them 
aligned.
I haven't changed my list definitions
http://www.compkarori.com/reb/pluginchat20.r
Pekr
11-Jan-2006
[3866]
when comes horizontal scroll to the game?
Henrik
11-Jan-2006
[3867x3]
pekr, check the docs. search for h-scroll. you can see how far I've 
come :-)
it's in there, just not really working yet. something isn't quite 
right with how I've made the faces to allow them to scroll.
graham: 404 not found
Graham
11-Jan-2006
[3870]
oops .. renamed it .. try again!
Henrik
11-Jan-2006
[3871x2]
in there now
pekr, sorry, better to search for "horizontal scrolling"
Pekr
11-Jan-2006
[3873]
I will, thanks for pointer ...
Henrik
11-Jan-2006
[3874]
graham, try setting FIT to FALSE to get pixel accurate widths
Graham
11-Jan-2006
[3875x3]
in the list definition ?
ok.
better, but the headers now cross over the scroller.
http://www.compkarori.com/reb/pluginchat21.r
Henrik
11-Jan-2006
[3878x2]
hang on... my connection is very bad right now
hm... beer chat has locked up
Graham
11-Jan-2006
[3880]
working for me.
Henrik
11-Jan-2006
[3881]
just loaded the one above... I can't write in the field
Graham
11-Jan-2006
[3882x2]
in the area field ?
delete the 11/12-Jan-2006-chat.r file ...
Louis
11-Jan-2006
[3884x2]
I have a large view script that work fine with the previous verison 
of view, but that gives the following error witht he new version 
of view:

Misplaced item: "imanXw"
Misplaced item: "Quit"
Misplaced item: [

    (write %session-time.txt (session-time + (either now/time >= time-start 
    [session-seconds: now/time - time-start] [se
ssion-seconds: ((now/time + 24:00) - time-start)])))
    quit
]
Any idea why?
Graham
11-Jan-2006
[3886x2]
http://www.compkarori.com/reb/pluginchat23.r

which has support for RMB on the users .. but a visual glitch in 
the scrollers.
Doesn't work under plugin.
So, the plugin page http://compkarori.com/reb/uses an older version.
JaimeVargas
11-Jan-2006
[3888]
Graham, No sound support in OSX view/beta so the newer version doesn't 
run here :-/
Graham
11-Jan-2006
[3889x3]
hmm.
but at least it shouldn't crash ??
Or , I guess it might when doing the setup business.