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

World: r3wp

[!REBOL3 GUI]

Pekr
26-Jul-2010
[2160x2]
I tried to propose one name LAY-* to prelace both panel and group
prelace = replace
Ladislav
26-Jul-2010
[2162x2]
no way, there are two styles, we need exactly two names
I hope, you now know, what does the group style look like
Pekr
26-Jul-2010
[2164x2]
Well, I always objected against two things - panel and group having 
different visuals, and both styles having different aproach to how 
they lay things (vertical vs horizontal)
But Carl told me, it is intentional. I always had to look at docs, 
to see, which style does what :-)
Ladislav
26-Jul-2010
[2166x2]
You still do not know *what is a group*
I mean *what is a group now*
Pekr
26-Jul-2010
[2168]
Ah, so you changed the meaning of a group style?
Ladislav
26-Jul-2010
[2169]
Didn't I succeed to explain it yet?
Henrik
26-Jul-2010
[2170]
yes, group behavior is as shown in the pictures. that is different 
from before, if you'll notice that faces are arranged in "lines".
Pekr
26-Jul-2010
[2171]
well, I don't understand the meaning of those images ... too abstract 
for me :-)
Ladislav
26-Jul-2010
[2172]
They are both groups, in the http://rebol.hmkdesign.dk/files/r3/gui/214.png
you can see the columns, in http://rebol.hmkdesign.dk/files/r3/gui/225.png
you can see rows, can't you?
Henrik
26-Jul-2010
[2173x2]
just look at the box arrangement, and you'll see that you can draw 
a straight line between them in one direction, but you can't in the 
other. that should be enough.
just like the arrangement of articles in an old-style newspaper.
Pekr
26-Jul-2010
[2175]
Henrik - by "lines" you mean probably rows, right? OK - what happens, 
if one GUI element in particular row is wider? The whole row becomes 
that wide, or it shrinks?
Ladislav
26-Jul-2010
[2176]
http://rebol.hmkdesign.dk/files/r3/gui/213.png
Pekr
26-Jul-2010
[2177]
It does not probably matter. What is being shown in those images 
is probably the layout mechanism of the group style, right?
Ladislav
26-Jul-2010
[2178]
yes
Pekr
26-Jul-2010
[2179]
so the group style can lay things in either rows, or solumns, or 
both?
Henrik
26-Jul-2010
[2180]
not both. that is what PANEL is currently for.
Pekr
26-Jul-2010
[2181]
and how does it differ to panel style? (hopefully now I will understand 
the difference :-)
Ladislav
26-Jul-2010
[2182]
Do you understand what Henrik said?
Pekr
26-Jul-2010
[2183]
Well, group style layouts things in either rows, or columns, depending 
upon layout-mode argument. The panel style layouts styles in both 
directions?
Ladislav
26-Jul-2010
[2184]
Right
Pekr
26-Jul-2010
[2185]
And now we need new name for which one, and why the current name 
does not fit anymore?
Ladislav
26-Jul-2010
[2186x3]
that is, not "layouts styles" - the panel layout lays the objects 
so, that you always *see* both the columns as well as the rows
So, this is how these two styles work, and there was a question, 
whether the names "group" and "panel" were appropriated.
err, appropriate
Pekr
26-Jul-2010
[2189]
I would stay with recent naming them - both names kind of represent 
a "container" kind of a meaning. It is a documentation thing imo.
Robert
26-Jul-2010
[2190x3]
group is OK,
Than how about BOARD?
Like a chess-board.
Pekr
26-Jul-2010
[2193]
Board, matrix, box (that one would collide with the style name, the 
same goes for grid, table). Board sounds good, but I still can't 
see the reason, why panel does not fit ...
Robert
26-Jul-2010
[2194]
Petr, just don't care about it. Suggest a good name :-)
Ladislav
26-Jul-2010
[2195]
We can go along with Group and Panel, as Pekr suggests, no problem 
either
Pekr
26-Jul-2010
[2196]
If we will not find better use-case for a Panel style, then let's 
stay with panel. If not, use Board instead ...
BrianH
26-Jul-2010
[2197x2]
Panel is a good name. All of these are pretty arbitrary when applied 
to a GUI system. Pick something traditional like Group and Panel, 
that sounds nice.
Not Board though, it focuses too much on the flatness and not any 
more on the layout.
Henrik
26-Jul-2010
[2199]
Bolek got hurt in an accident, which is why he was not so active. 
He should be back in business in a couple of days.
Pekr
26-Jul-2010
[2200]
uh, hope he is OK!
Graham
26-Jul-2010
[2201]
Must be okay if he's back in a couple of days?
Henrik
26-Jul-2010
[2202]
Broken clavicle.
Graham
26-Jul-2010
[2203x2]
You guys didn't make him lift too many heavy widgets??
Is Carl still in the R3GUI scrum ??
Henrik
26-Jul-2010
[2205]
yes, although he's focusing on host kit right now.
Graham
26-Jul-2010
[2206]
on callbacks? or IPC ?
Henrik
26-Jul-2010
[2207]
callbacks
Graham
26-Jul-2010
[2208]
Good to hear
Anton
26-Jul-2010
[2209]
How about WRAP-PANEL  (or ARRANGER or "CONSECUTOR") ?