# | User | Message | Date |
90 | Maxim | on my HD... some look and feel issues have kept me from releasing it. I need to clean it up and that takes time... for my part I don't mind the few display quirks for my apps... | 10-Sep-09 5:42 |
89 | amacleod | available? | 10-Sep-09 5:40 |
88 | Maxim | a lot ;-) | 10-Sep-09 5:40 |
87 | amacleod | Maxim, how much further have you developed GLayout since the site was updated? | 10-Sep-09 5:39 |
86 | amacleod | Glayout webpage: page last updated: 2-Nov-2006 | 10-Sep-09 5:38 |
85 | xavier | i ve tried it and its very efficient | 7-Jan-08 23:00 |
84 | GiuseppeC | Maxim answered on the Mailing List about GLayout vs RebGUI describing GLayout. I suppose I will have to take a look at his project too. | 15-Dec-07 12:56 |
83 | Maxim | sometimes you'll need to call refresh on the window itself, cause the new/old faces will change how the whole tree of groups measure up against each other | 3-Jan-07 21:15 |
82 | xavier | ok it sounds cool | 3-Jan-07 21:14 |
81 | Maxim | if you ever change something interactively and wish to recompute the layout (cause the sizing needs have changed for any reason) then call refresh on any face or group. | 3-Jan-07 21:13 |
80 | Maxim | remember that you can (just like in VID) assign your face AND groups to variables in order to manipulated them afterwards (replacing panes, for example) | 3-Jan-07 21:11 |
79 | xavier | yes placing them not resizing ... i m sorry | 3-Jan-07 21:10 |
78 | Maxim | column if you want to stack your faces in Y , row to stack them X . it has no effect on resizing. | 3-Jan-07 21:10 |
77 | xavier | order | 3-Jan-07 21:09 |
76 | xavier | and row if i want to resize it in x ? | 3-Jan-07 21:09 |
75 | xavier | column if i want to resize it in y | 3-Jan-07 21:09 |
74 | xavier | yes but it remain simple and logical | 3-Jan-07 21:09 |
73 | Maxim | just remeber that every thing has to be wrapped within columns and rows, which is the main difference in code. | 3-Jan-07 21:08 |
72 | Maxim | if you allow field to stretch in Y , then, obviously it will look weird, since you'd end up with a multi-line text entry which actually only has one line entry... | 3-Jan-07 21:06 |
71 | xavier | ok i test it | 3-Jan-07 21:06 |
70 | Maxim | this layout for example: column [ header "enter text" field ] will popup a window which stretches only in x by default | 3-Jan-07 21:05 |
69 | xavier | ok i see ... i m less affraid of trying to rewrite all that :)))) thanks | 3-Jan-07 21:05 |
68 | Maxim | yess you'll see within a few minutes of testing how it reacts. | 3-Jan-07 21:03 |
67 | xavier | yes but in general its always usefull to resize at least the windows that contain the faces | 3-Jan-07 21:02 |
66 | Maxim | I sometimes add an elastic (an actual glayout style) within a group, or add the elasticity to a face, just to allow the gui to resize even though it has no real advantage in resizing. | 3-Jan-07 21:00 |
65 | xavier | ok it will be possible cause i have few styles heavilly modified : i just needed a text area wich can be erased when clicked and a field where all letter were typed in majuscules | 3-Jan-07 21:00 |
64 | Maxim | yes each direction being indepent... elasticity and stretching are pairs... you specify your face's needs independently. | 3-Jan-07 20:58 |
63 | xavier | want | 3-Jan-07 20:57 |
62 | xavier | ok so i need to have all widgets resizable if i cant a window resizable in every direction ? | 3-Jan-07 20:57 |
61 | Maxim | there are also other powerfull functions which allow other tricks with groups, or to easily to extend the dialect of a style for example. | 3-Jan-07 20:55 |
60 | Maxim | this means that if no face in a layout can stretch or is elastic, the window will never allow resizing in that direction... trying to resize it beyon, will effetively resize the window back to its nominal size, allowing the other axis to resize freely. | 3-Jan-07 20:54 |
59 | Maxim | basically, you receive a size as input and then refresh your face based on that size. it will always be guaranteed to fit within the specs you gave within calc-size | 3-Jan-07 20:53 |
58 | Maxim | which is handled in the gl-layout function. | 3-Jan-07 20:52 |
57 | Maxim | once all face have resolved the size they need/expect/allow a second process is space attribution | 3-Jan-07 20:51 |
56 | Maxim | calc-size also lets you allocate default size and hard set minimal size of your face. | 3-Jan-07 20:51 |
55 | Maxim | calc-sizes is a function which lets your style decide what kind of space requirement it has, if it benefits from extra space (like a field or list) and this is independent in X and Y. | 3-Jan-07 20:50 |
54 | xavier | most of the time i dont need to resize the styles on it | 3-Jan-07 20:50 |
53 | xavier | for the moment i just need to resize windows | 3-Jan-07 20:49 |
52 | Maxim | all you really have to supply (if one of the current sizing extensions does not do what you need) is implement two methods. | 3-Jan-07 20:49 |
51 | Maxim | all the resizing algorythms are handled within the groups themselves based on indicators which are included within the gadgets and sub layouts they contain. | 3-Jan-07 20:48 |
50 | Maxim | By default its easy to add VID styles if you use the static-sizing extension by default. This means you do not expect your face to resize, and is very easy to accomodate (obviously) | 3-Jan-07 20:48 |
49 | xavier | can i reuse them ? | 3-Jan-07 20:47 |
48 | xavier | i have a stylesheet where i created my personnal widgets in vid | 3-Jan-07 20:47 |
47 | Maxim | some styles are not part of glayout (for no real reason other than time and user demand) | 3-Jan-07 20:46 |
46 | Maxim | the exact nature of your tool will make it easier or harder. | 3-Jan-07 20:46 |
45 | Maxim | cool , you can recycle some/most of it. | 3-Jan-07 20:45 |
44 | xavier | and having features as elasticity | 3-Jan-07 20:45 |
43 | xavier | i was wondering if there was a possibility to reuse what i have already wrote | 3-Jan-07 20:45 |
42 | xavier | i have intention to use GLayout to improve an interface i have already, wrote in vid | 3-Jan-07 20:44 |
41 | Maxim | hi | 3-Jan-07 20:44 |
40 | xavier | hello maxim | 3-Jan-07 20:44 |
39 | Maxim | arrows in file requestors , good idea. I didn't put any shorcuts there, I didn't realize how usefull that can :-) | 6-Nov-06 1:40 |
38 | Maxim | the more users I have the more I commit to priorities. it helps with the motivation. :-) | 6-Nov-06 1:39 |
37 | Ingo | Hi Maxim, looks very good! Only the colors don't match my personal taste ... And I like to work with up and back arrows in file requestors, which yours doesn't have ... Guess I should now start to learn more about it ... | 4-Nov-06 19:29 |
36 | xavier | no problem, my question was about preallocation and refine vid but it is something that can help with the existing vid ... it will be sufficient for my needs | 1-Nov-06 22:20 |
35 | Maxim | I think I misunderstood your question. Its possible some methods could be extracted from GLayout, but I have no time to do that kind of task. | 1-Nov-06 22:02 |
34 | Maxim | next week. | 1-Nov-06 21:47 |
33 | xavier | an help to create widgets in vid ? | 1-Nov-06 21:47 |
32 | Maxim | there is also the refine-vid function which lets you add word to any style's dialect very easily. it even pre-allocates some local vars for you, keeping you from stomping the global space too much. | 1-Nov-06 21:30 |
31 | Maxim | so you can change values, setup pointers. sort of like the init block.. must much less obscurely. | 1-Nov-06 21:28 |
30 | Maxim | the post layout hook, allows you to react to the layout, just after its done, but before moving on to other gadgets. | 1-Nov-06 21:27 |
29 | Maxim | this is how the scroll pane works. it adds its scrollbars to the layout, dynamically and then lets the layout take care of everything. | 1-Nov-06 21:27 |
28 | Maxim | some usefull tidbits are pre and post layout hooks... which allow a style to add faces to its spec BEFORE layout is called (usually much easier than trying to create faces directly). | 1-Nov-06 21:26 |
27 | Maxim | importing current VID styles should be pretty easy. nothing is removed. ex: I still use the obscure init block myself. | 1-Nov-06 21:25 |
26 | Maxim | its VID based, so any current draw blocks set in the effects can be used. the buttons, field, and choice use AGG for their rendering. | 1-Nov-06 21:24 |
25 | xavier | u think about using agg directly ? | 1-Nov-06 21:23 |
24 | Maxim | MANY hooks allow you to control how stuff is created, rendered, resized, etc. | 1-Nov-06 21:23 |
23 | Maxim | the real power lies in the engine and api. The way styles can be created is pretty cool. | 1-Nov-06 21:23 |
22 | Maxim | I am looking into putting time on improving the look a bit, or in the least allow a bit more global control. | 1-Nov-06 21:23 |
21 | xavier | it looks very clean, i think i ll use it for my next interfaces | 1-Nov-06 21:22 |
20 | Maxim | some visuals are borrowed from henrik's previous work. | 1-Nov-06 21:22 |
19 | xavier | looks amazing, i just tried it and its wonderfull | 1-Nov-06 21:21 |
18 | Maxim | there is a link to some info about it in the glayout-demo.r. menu: "Features > Gui snapshots" | 1-Nov-06 11:19 |
17 | Maxim | can anyone give me feedback on the GUI snapshot feature? | 1-Nov-06 11:18 |
16 | Maxim | its a quick slap of many styles and serves as a simple preview and hint about some of the GLayout features like full nested resizing, advanced menuing, inspector, and snapshot. | 1-Nov-06 11:17 |
15 | Maxim | for those of you who missed the announcement, there is now a GLayout demo on REBOL.org you can lauch it via: do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=glayout-demo.r | 1-Nov-06 11:16 |
14 | Maxim | GLAYOUT LICENSE in last release IS NOW MIT | 1-Nov-06 10:58 |
13 | Maxim | GLayout now only functions on view 1.3.2 | 1-Nov-06 10:57 |
12 | yeksoon | my preference is also BSD (or MITish) | 22-Sep-06 2:10 |
11 | Maxim | hehehe (wrt demand) | 22-Sep-06 1:07 |
10 | Maxim | in detail, unless you use slim-link to produce a source which INCLUDES glayout or slim, your application is not obliged to be open source, this applies even when your application is encapped. just keep the slim.r and glayout files external and you are still ok in using it. | 22-Sep-06 1:06 |
9 | Graham | :) | 22-Sep-06 1:05 |
8 | Graham | I demand it now! | 22-Sep-06 1:05 |
7 | Maxim | yes. | 22-Sep-06 1:05 |
6 | Maxim | I am also willing to license GLayout differently on demand. | 22-Sep-06 1:05 |
5 | Graham | So, if it resides on the local drive, and you load it each time .. you're okay? | 22-Sep-06 1:04 |
4 | Maxim | Glayout is LGPL meaning unless you link it within your code, you do not get infected with GPL. | 22-Sep-06 1:04 |
3 | Maxim | First topic ! LICENSE | 22-Sep-06 1:03 |
2 | Graham | Is the documentation better? | 22-Sep-06 1:03 |
1 | Maxim | ok, lets talk about GLayout here :-) | 22-Sep-06 1:03 |