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

World: r3wp

[View] discuss view related issues

Ammon
8-Jan-2006
[3826]
Viewtop is currently open source.  NOt sure where the official source 
is located though...
Graham
8-Jan-2006
[3827]
you can modify it, but you have to submit the changes back to RT.
Anton
8-Jan-2006
[3828]
I downloaded it when they released it. Filename is viewtop1200.zip
Ryan
8-Jan-2006
[3829]
thanks all!
Gabriele
8-Jan-2006
[3830]
i think the version in the sdk is more recent.
Ryan
8-Jan-2006
[3831]
even better, thanks!
Henrik
8-Jan-2006
[3832]
LIST-VIEW 0.0.17 uploaded.

Changes:

      Fix: FILTER was broken. Seems to be a bug in clearing bitsets.

      New: EDT-FLD-ACT and EDT-LST-ACT to let you perform functions when 
      tabbing out of an inline editing field

      Fix: Column selecting marked columns beyond the end of DATA.

      Fix: Fractional widths are now properly resized, when resizing the 
      list

      New: Inline Editing! Can be activated with the EDITABLE? flag (default 
      on)
Pekr
9-Jan-2006
[3833x4]
Henrik - it does not work easily - you can't do list-view and then 
list-demo.r, as it seeks list-view.r on your hd ... that should be 
stated ...
as for demo, I am somehow confused .... your naming conventions seem 
quite strange. Naming something "here" is imo not good. in-cols, 
out-cols, main-col ... what shoul one think of it? why not simply 
all-cols, or visible-colls, etc.?
another things - why main-col is resizable? I saw no desings as such 
yet .... every column should be resizable, or not ...
guys, don't get me wrong, but imo first design should be decided, 
then implementation done, or you will end-up patching your initial 
solution ...
Henrik
9-Jan-2006
[3837x2]
pekr: Listview file searching noted...
pekr, well, I find the names to be logical, but if we can agree on 
better names, it's only a matter of search/replace
Pekr
9-Jan-2006
[3839]
I know :-), but e.g. in-cols description in table, I can't even properly 
translate it ..... but then - I am not native englishman, so my problem 
:-)
Henrik
9-Jan-2006
[3840]
pekr, MAIN-COL is resizable, because that was easy to do and I use 
that in my design. It works very well in my older implementation.that's 
why I continued using it.
Pekr
9-Jan-2006
[3841]
it is just that I don't recognieze main-col functionality with grids 
I worked with so far ... once you allow your users to freely adapt 
your grid (order of columns), which one is main col?
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
[3875]
in the list definition ?