World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Ashley 30-Apr-2005 [675] | Esperanto? ;) |
Robert 30-Apr-2005 [676] | listview: Pretty cool :-)) Some ideas: - add a line highligh feature for the selected line and the line the cursor is currently pointing to - double clicking the column-resize bar resets the column width to the default value - add an up/down arrow to the column which was used for sorting, to indicate sorting order |
shadwolf 30-Apr-2005 [677x2] | I'm sorry working in french is just easier for me ... |
the code is so easy that we doesn't need comments I facts :) | |
Brock 30-Apr-2005 [679x2] | Nice work absolutely. One comment... I believe the 'typical' behaviour of column resizing that each trailing column is offset the amount the column was resized. |
I was also thinking about the feature that was being discussed that allows for more tabs than the width of the layout. How about an option to allow the tabs to wrap when larger than the layout? Take the number of tabs, divide the total by two and auto-size the tabs to the full width of the layout, just now there is two rows. I think this would be a nice alternative behaviour for when the user interface benefits from being able to see all possible tabs. | |
Graham 30-Apr-2005 [681] | I like the idea of stacking the tabs .. as in most windows control panels ... |
shadwolf 30-Apr-2005 [682x3] | Brock yes the colonne resizing feature is planned. but I fear this kind of feature is speed in C/C++ and slow in rebol ... |
nut once I dont test it I can't say if it would be alright | |
but not nut | |
Graham 30-Apr-2005 [685] | the alternative is what cyphre does for his tabbed panel gadget .. which is an arrow on the right which shifts the tabs left and right |
shadwolf 30-Apr-2005 [686x2] | Brock second feature is planned too ... |
For the moment it's a prepre alpha demo to show to you what are my way to make it and if people find it good :) | |
Brock 30-Apr-2005 [688] | I like it so far - haven't looked at the code or how you bind the data. |
shadwolf 30-Apr-2005 [689x11] | I splitted betwin a heavy implemented listview with lot of gadgets events (witch means lot of code) and a just what we need listview (first step for heavy implemented listview) |
I'm splitted not I splitted | |
Brock datas are organised like that [ [ "title" type size (and so on)] [ data1 (and so on) ] ] size is not implemented yet | |
normally size data will be linked with resizing feature | |
actually I'm writing select and retrieve function | |
http://shadwolf.free.fr/redgui-list4.r | |
you can find here my first implementation of selection & retrieve fonction ;) | |
I improved the code | |
http://shadwolf.free.fr/redgui-list4.r | |
you can access the selected line data with the picked field into the listview | |
http://shadwolf.free.fr/rebgui-list4.r | |
Graham 30-Apr-2005 [700] | if it only runs on alpha view, then we can't encap |
shadwolf 30-Apr-2005 [701x4] | normally it runs on every rebol/view since 1.2.1.3.1 |
the only thing you needs to change is the modulo call "modulo i 2" can be replaced by "i // 2" | |
I fixed this issue ... so as far as I test for the moment it runs with 1.2.8.3.1 | |
problem runing with 1.2.1.3.1 bu I think it's not related with listview widget | |
Brock 30-Apr-2005 [705] | Having a minimal, lowest common denominator version of list is a good idea, considering the idea with RebGUI is to create a small/tight GUI environment. Having a more advanced version (more code) running on the lighter GUI is also a good idea so programs written for it don't feel restricted. |
shadwolf 30-Apr-2005 [706] | I think a less 200 code listview is yet pretty good |
Graham 30-Apr-2005 [707x3] | Okay, retested .. and it is working now. |
But ... | |
listview/picked: ["Line 1:1" false logo.gif logo.gif "Line 5:01"] ** Script Error: Cannot use path on none! value ** Where: do-body ** Near: wid/color: gold last-sel: f-ind insert | |
shadwolf 30-Apr-2005 [710] | I'm trying to implement the resizing of the colonne conserving it's size but I it's hard to write I spent so mutch nights with out sleep this week that my neurons are not working properly ;) |
Graham 30-Apr-2005 [711x3] | when you click on a cell in the last column, it highlights the one 4 above it |
the one that says "title 5" | |
Are the gadgets in "title 2" supposed to be disabled? | |
shadwolf 30-Apr-2005 [714x9] | normally not |
I see the problem ;) | |
Are the gadgets in "title 2" supposed to be disabled? I don't understand for me it work well ;) | |
I found the bug for the last colono selection ;) | |
I updated the working version | |
I'm having lot of problems with the writting of the colom resizing algo | |
when you move a splitter this influance the left colone size and only change header button and all the widgets on the right size | |
Woooooooooouhouuuuuuuuu I get a working resizing feature I need to change a little thing with my horizontale scroller but this is working | |
as I was supposing earlier the motion is slow | |
Graham 30-Apr-2005 [723x2] | I must be looking at the older version .. the bug with last column is still there. |
Also, in column 2, I can't untick/cross the checkboxes | |
older newer | first last |