World: r3wp
[View] discuss view related issues
older newer | first last |
Henrik 30-Dec-2005 [3576x3] | now using the standard SCROLLER. I'm not sure if this is a good approach for RebGUI... |
now supports vertical scrolling | |
some limited support of images too | |
Pekr 30-Dec-2005 [3579] | its already slow though ... try to drag scroller here or there ..... |
Henrik 30-Dec-2005 [3580x2] | it's the same routine as I normally use... I might be able to get rid of some calculations that are done during draw, when scrolling... |
I've turned off the truncate function. did that help? | |
Pekr 30-Dec-2005 [3582] | not sure ... but concentrate upon engine ... there will be place to optimise later ... |
Henrik 30-Dec-2005 [3583x2] | got rid of a few calculations during scrolling now. |
sorting works now. click the button in the upper right corner to reset sorting | |
Graham 30-Dec-2005 [3585] | Can you get multi-line rows ?? |
Henrik 30-Dec-2005 [3586x4] | probably :-) each row is a layout that can be defined by the user |
but the size of a row isn't adapted to the text contents yet | |
text filtering works now. by entering a string in the field, the string will be searched through all values in all columns and only display rows with the string in it. currently only searches all columns. | |
sorting also works after filtering | |
Pekr 30-Dec-2005 [3590] | it suffers one typical problem - at first run, the grid is unsorted ... once you sort it, you can't "desort" it :-) |
Henrik 30-Dec-2005 [3591x2] | click the button in the upper right corner |
(should be marked a bit clearer, I know) | |
JaimeVargas 30-Dec-2005 [3593] | There should be at least three states for sort [ascending, descending and unsorted] |
Pekr 30-Dec-2005 [3594x2] | Nice! Maybe it would be better to have situation similar to Lotus Notes grid? They show thin arrow, if the column is sortable (not all are). Then you can sort it up and down and third click deactivates sorting. It is kind of natural ... |
:-) Jaime was faster :-) | |
Henrik 30-Dec-2005 [3596x2] | I'll take a look at that |
pekr, which kinds of rows can't be sorted? | |
Pekr 30-Dec-2005 [3598] | well, not in our case. But with some older db systems, like xbase in DOS, we just had this facility. Not all columns were indexed. Sorting non indexed columns was not allowed ... |
Henrik 30-Dec-2005 [3599x3] | ok |
tristate sorting now available. can be turned off with the TRI-STATE-SORT variable. | |
I will continue tomorrow... bedtime for me | |
Graham 30-Dec-2005 [3602] | Is there some gotcha with resizing a scroller ? Scroller/size: newsize show scroller doesn't work. |
Volker 30-Dec-2005 [3603] | in vid scrolller/resize new-size ? |
Graham 30-Dec-2005 [3604x2] | oh :) |
which reminds me .. is there an updated reference to all the functions associated with Vid gadgets, or is it .. read the source time ? | |
Volker 30-Dec-2005 [3606] | I am to used to the source to look for new documentation.. dont know. |
Graham 31-Dec-2005 [3607] | Anyone done a colour wheel/picker ? |
Rebolek 31-Dec-2005 [3608] | IIRC Oldes did something, but don't know. if it's available. |
Henrik 31-Dec-2005 [3609x3] | back again.... fixed a bug where resize didn't work during filtering and incorrect amount of results when filtering and turning off sorting |
graham: it seems the convention is so that when you have a group of faces that need to be resized (such as the scroller), you use a RESIZE function rather than just a variable. | |
the filter works on multiple strings and is case insensitive. the purpose is to let you very quickly search for things without resorting to regular expressions or wildcards, with as few keypunches as possible. try entering "shoe" first. then "shoe very". "shoevery" won't produce a result | |
Graham 31-Dec-2005 [3612x3] | Henrik, that makes sense. |
Now, how to change the font size of the font used in an area widget ? | |
area/font/size: newsize .. doesn't do it. | |
Henrik 31-Dec-2005 [3615] | view layout [area font-size 20] works here. |
Graham 31-Dec-2005 [3616x3] | yeah .. wasn't working for me. |
set-font area '?? 20 | |
no matter .. got it going. | |
Henrik 31-Dec-2005 [3619x3] | new version 0.0.5 uploaded. single selecting works now. standard font made a bit smaller. selecting requires the use of a new face called LIST-TEXT with a FEEL that allows for mouse over and single/double clicking in the list. single-click action is stored as a block in LST-ACT double-click action is stored as a block in DBL-LST-ACT Demo can be found at http://hmkdesign.dk/rebol/list-view3.r |
0.0.6 uploaded... minor bugfix to keep the selected persistent even when sorting and filtered. | |
0.0.7 uploaded... This one is released under the BSD license. Changes: New: Added /force refinement to UPDATE Fix: Fields are rendered now, when filtering with fewer results than the size of the list view. New: List now can have an edge of any size. New: ALT-LST-ACT action for right click actions. New: If HDR-COLS is empty, the header is now not drawn. | |
Graham 31-Dec-2005 [3622x2] | is keyboard navigation coming? |
viz. moving up/down the list. | |
Henrik 31-Dec-2005 [3624] | I tried it, but there are problems with focusing. Keyboard nav, requires focusing on the right face, and when I try that, selecting goes haywire. It's the same with mousewheel. Suggestions are welcome. |
Robert 31-Dec-2005 [3625] | unsort: please put this on the right-click. Cycling through unsorted isn't standard and doens't make sense. |
older newer | first last |