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

World: r3wp

[!REBOL3-OLD1]

AdrianS
21-Nov-2008
[8234x2]
Has anyone involved with VID3.4 development looked at MigLayout, 
the Java layout manager (http://www.miglaout.com), for inspiration? 
I've recently started using MigLayout with Groovy and this manager 
is great for intuitive programmatic control placement. I'm guessing 
that whomever is doing all the hard work in R3 has really thought 
about the problem and will provide smilar functionality and ease 
of use, but just in case, it might be worth a look.
The Java WebStart Swing demo on the page allows you to see the source 
as well as the individual constraints by right-clicking on a control.
Steeve
21-Nov-2008
[8236]
are u sure for the link ?
Graham
21-Nov-2008
[8237]
add a 'y"
Steeve
21-Nov-2008
[8238]
looking for screenshots...
AdrianS
21-Nov-2008
[8239]
I don't think there are screenshots - the live swing demo app is 
probably the best way to see/experience how the manager works - you 
don't need to install anything (you do need a Java VM, though)
Henrik
26-Nov-2008
[8240]
Short VID3.4 status:

- Some extra formatting options in the DOC style.

- I added a numeric field today similar to the one on my old blog 
site for VID, except that this one took half a day to do instead 
of a week and was way easier to implement.

- Skin is changing appearance a bit, both to simplify and to extend 
its possibilities. This made it possible to build pixel-perfect text 
areas, lists and other combined faces, finally.

- Some bugs remain in the layout engine which make certain layouts 
look a little messy. Still not sure that MAX-SIZE is the right approach.

- Added CONTAINER to help produce aforementioned pixel perfect styles. 
As a bonus, such styles will have a common border, which we then 
can change in a simple way.

- Looked a bit at a CALENDAR style for a date picker, but decided 
that it is better to wait a bit with that to finish some other base 
styles first.
Rod
26-Nov-2008
[8241]
Any word on the updated alpha release timing yet?
Graham
26-Nov-2008
[8242]
I think we have moved into a time dilation field
PeterWood
26-Nov-2008
[8243]
I believe the American holiday season starts today, so I'd guess 
we're looking at next year now.
Pekr
27-Nov-2008
[8244x5]
next year? That would definitely suck. I want something for Christmass 
to play during the long holiday nights ....
Henrik - were there any draw fixes done? Or Cyphre still not being 
involved?
Henrik - what was the problem of former skin, that it did not allowed 
us to have pixel-perfect text areas, etc.?
btw - thanks for update, I was currious, what is happening in GUI 
field, as r3-alpha is mainly discussing supporting infrastructure 
nowadays ....
Henrik - re MAX-SIZE - what was the technique Gabriele used in his 
VID3? Is the model different?
Henrik
27-Nov-2008
[8249]
- No time table given, so I can't say when there will be a release. 
I can only say that we're moving forward all the time, fixing bugs, 
adding new styles.

- No DRAW fixes yet. I haven't seen Cyphre since 5th November. We 
can work around most DRAW bugs for now.

- Skin lacked a CONTAINER style to put things in. Lining up scrollers 
with text fields, lists, etc. proved to be problematic. When one 
looked OK, the other would look terrible. We had TIGHT, GROUP and 
PANEL, but none of those are useful as decorative containers. CONTAINER 
works llike the frame of a painting, and now all styles that use 
CONTAINER look almost identical and pixel perfect. It also allows 
me to build complex field styles, like a search field with icons 
or numeric field with arrows.

- MAX-SIZE: It's a combination of weighting and maximum size of a 
face. When you set MAX-SIZE, it will affect the layout of the face 
in code, even if you are nowhere near maximum size, something I would 
never expect such an attribute to do. Setting MAX-SIZE correctly 
is an annoying process of trial and error, can't be predicted and 
depends on the MAX-SIZE of other faces in the panel, which requires 
debugging and studying other styles or setting them manually with 
a lot of typing. There are also magic numbers, so sometimes you use 
a size of 4000 and other times 100000 to achieve similar results. 
This is really the only part of VID3.4 that I don't like. However: 
There are still bugs, so intended behavior may turn out to be much 
better than I think. I can't remember what VID3 uses, but I would 
guess it's a more traditional weighting model.
Pekr
27-Nov-2008
[8250]
Why there is another style needed, to properly align elements? Why 
isn't panel and group enough?
Henrik
27-Nov-2008
[8251]
panel is for grouping whole groups of faces with a big frame around 
it. group does the same without a frame (no draw block). tight is 
like group, except without spacing. container is like tight, but 
has a visible frame that does not have the same apperance as panel.
Pekr
27-Nov-2008
[8252]
That sounds confusing - couldn't it be just variations of one style? 
:-)
Henrik
27-Nov-2008
[8253]
no :-)
Pekr
27-Nov-2008
[8254]
As for max-size, not sure if it can be usefull at all ...
Henrik
27-Nov-2008
[8255]
it's easier to show in screenshots. hopefully I'll get the server 
up again next week.
Pekr
27-Nov-2008
[8256x2]
I don't understand how group and panel could be usefull, if it can't 
precisely align elements? Why not use container all the time then?
I'll wait for screenshots.
Henrik
27-Nov-2008
[8258]
it does precisely align them, but the draw block is not suitable 
for that.
Pekr
27-Nov-2008
[8259]
You also often mention bug in layout. Is layout so complicated, that 
its bugs can't be fixed? :-)
Henrik
27-Nov-2008
[8260]
they are just not fixed yet. there are many things to do.
Pekr
27-Nov-2008
[8261]
Would adding more skilled developers help the case? E.g. Anton, Gabriele?
Henrik
27-Nov-2008
[8262]
Already asked for both a long time ago, but neither one reacted. 
:-)
Pekr
27-Nov-2008
[8263]
Hmm, who else's there? :-) Ashley is not much active here lately, 
and not sure who else is skilled for VID work ....
Henrik
27-Nov-2008
[8264]
There is the matter of getting into the VID 3.4 code which would 
take a few days, before changes could be made and those changes must 
be of very high quality. I'm not sure it's of much help right now 
to speed up the process, but in longer term it would help getting 
some details right.
Rod
27-Nov-2008
[8265]
Thanks for the update Henrik, always good to hear about what is in 
work.
Henrik
27-Nov-2008
[8266]
no problem
Pekr
27-Nov-2008
[8267]
Henrik - but it would really not hurt to get VID 3.4 out for all 
interested users. It is not about VID 3.4 development itself, but 
about getting familiar with what we already have. I expect VID3.4 
being in a state, where most of concepts are already in place and 
fixed?
Henrik
27-Nov-2008
[8268]
There are probably about half the concepts in place at this time. 
I still don't know if Carl gets a good idea and decides to do some 
changes.
Pekr
28-Nov-2008
[8269]
Will there be any conclusion to parse REP, or was it another blog 
teaser (= without decision announcement)?
Henrik
28-Nov-2008
[8270]
Carl is very quiet on it, so, not sure.
Pekr
28-Nov-2008
[8271]
Henrik - missing your screenshots :-) Curious to see panel, group, 
tight and container differences ...
Henrik
28-Nov-2008
[8272]
Yes, I know. I think it will make more sense, when I get more container 
styles done. It will be very useful in the case of a date field style, 
table style and calendar style. There was a problem in the past with 
aligning multiple styles in a nice-looking way. Container solves 
that.
Pekr
28-Nov-2008
[8273]
what I would like to understand is, why was not it possible to be 
solved by group or panel, technically. But I'll wait, because in 
fact I don't know, what is container about. I thought, that panel 
is the container already. I would not like to find out, that the 
reason is, that the design is flawed, and hence the situation has 
to be patched by introducing yet-another-style-for-each-new-situation 
...
Graham
28-Nov-2008
[8274]
We should really have an alpha+gui release
Henrik
28-Nov-2008
[8275]
No, it's not a flaw, but just something that was missing. It's quite 
simple.
Graham
28-Nov-2008
[8276]
I still lack access to the new server
Henrik
28-Nov-2008
[8277]
Also of note: Making an extra style for a new situation is the way 
to go as it gives less code than trying to make a single style very 
smart. Smart styles are harder to code. This creates a lot of styles, 
so I'll have to create a style tree.
Pekr
28-Nov-2008
[8278x2]
At least new VID is not as strict as Gabriele's was, where even size 
difference meant having new style.
just something that was missing

 - couldn't be panel and group fixed to work like Container? :-) What 
 is their other difference other than Container aligns, but panel 
 and group don't? :-)
Henrik
28-Nov-2008
[8280]
Pekr, I guess you have to wait until I can give a proper explanation 
with screenshots. "Fixing" panel to work like container would be 
like "fixing" scroller to be like a slider. They are for two different 
purposes.
Graham
28-Nov-2008
[8281]
The Friday following thanksgiving is known as Black Friday ... would 
have been sweet to release R3 alpha/gui
Pekr
28-Nov-2008
[8282]
we have black friday R3 for 3 or 4 years ... who knows for how long 
already ... it is almost becoming irrelevant ...
Graham
28-Nov-2008
[8283]
I'm not sure of Carl's decision to write a BBS now ....