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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
25-Feb-2007
[5481x2]
Can we change the font size etc in a table ?
Yes, I know that might defeat your design objectives for the gui 
:(
Ashley
25-Feb-2007
[5483x2]
radio-group - will do, later today.

table font size - you guessed correctly, it uses the global setting. 
I'll see how easy it is to get font [size: 8] working with it (like 
other basic widgets).
Robert, why would anyone store radio-group text when they could store 
the selection number directly? (e.g. radio-group/picked). This makes 
it very easy to save and load radio-group settings and you don't 
have to worry about label text changes. If the position of the option 
changes you just have to update the underlying DB but that applies 
for plenty of other widgets; if you change the order of your table 
columns, or check boxes, or widgets within a display. I don't see 
why this one case (radio-group) is so different from all others. 
It still won't protect you in the case where the number of radio-group 
options is reduced; and you now have to manage ID changes in addition 
to potential label and positional changes ... i.e. it adds another 
level of abstraction and another level of potential error.
Ashley
26-Feb-2007
[5485]
Graham, radio-group fix is up on SVN. To clarify, no initial selection 
is displayed in these three cases:

	data ["Opt 1" "Opt 2"]
	data [none "Opt 1" "Opt 2"]
	data [0 "Opt 1" "Opt 2"]
Graham
26-Feb-2007
[5486x2]
Great.
Just a suggestion about the spellchecker.  At present the spellchecker 
window pops up for each word. How about the sentence in question 
is displayed in the spellchecker window with the word highlighted 
instead.
Robert
26-Feb-2007
[5488x2]
Ashley: I don't change the DB layout in this case. I change my code 
and this fixes the positioning change. Same with table columns, I 
just retrieve them in other order.


And we have added SELECT-ITEM to the widget. With this it's possible 
to use the ID not the position because otherwise I have to change 
my code.


Overall, we did it to reduce maintenance hassles and make the app 
more flexible. Maybe only I have this problem... Anyway, I think 
the benefits are much bigger than to stay with the current version.
Graham: Normally a RADIO-GROUP selection is a mandatory choice. Otherwise 
you should use CHECK-GROUP which explicitly supports "no-selection" 
possibility. Hence a default selection was added.
Graham
26-Feb-2007
[5490x2]
check groups aren't mutually exclusive.
sometimes a question needs to be left unanswered .. hence nothing 
selected.
Pekr
26-Feb-2007
[5492]
hmm, but that is how radio buttons were meant to be - always just 
one answer. If you need something like that, I am not sure it is 
good design to have no radio button in a group having selected, because 
you can't do reverse operation - once you click on either option, 
you can't get back to state, where no radio group is selected. So 
- my opinion is, that in such case you should add another option 
to your group, stating "none" or something like that. Well, just 
my opinion ...
Robert
26-Feb-2007
[5493]
Isn't CHOICE-GROUP intended for selections that are optional? I use 
RADIO-GROUP for a mandatory selection and hence a default selection 
makes sense.
Graham
26-Feb-2007
[5494]
choice group??
Robert
26-Feb-2007
[5495]
Sorry, I meant CHECK-GROUP.
Graham
26-Feb-2007
[5496]
Well, I think that there should be some debate before a long standing 
behaviour is changed.  I have lots of users using a rebgui application 
that depends upon the previous behaviour.
Pekr
27-Feb-2007
[5497x4]
just manually downloaded latest SVN changes - gee, the design is 
getting worse and worse. Those rounded buttons are so bad it is not 
really funny or question of ones aestethic feel. RebGUI was initially 
not pretty, but at least nearly XP look. Now it is what?
What have we gained by turning buttons into draw blocks, instead 
of using images? I mean - how many kb of memory or what was initial 
intention of the change?
Why panel and group box are rounded, while tab-panel is square?
I think that Rebol community really is in need of getting some graphician 
on-board. Not only for RebGUI, but for future VID too ...
Maxim
27-Feb-2007
[5501x2]
this type of thing is actually subjective...
some love glayout's looks, some like what it could be, some don't 
like the gel type buttons... some people don't like apple's aqua.
Graham
27-Feb-2007
[5503]
Ashley did say that if someone could provide an aesthetically pleasing 
draw block - he would use it.
Henrik
28-Feb-2007
[5504]
I haven't checked up on RebGUI lately. Does it look the same?
Pekr
28-Feb-2007
[5505x3]
not, definitely not, Henrik - it looks inconsitent.
Maxim - your glayout looks consistent, as buttons fit the rest. Current 
RebGUI buttons are a bit ... ehm, strange ...
so far, the best Rebol related designs, for me - Henrik's stuff, 
Detective, Cyphre's styles pack - compact designs ....
Henrik
28-Feb-2007
[5508]
hmm... aesthetically pleasing draw block, you say? how does that 
work? do you skin RebGUI that way?
Graham
28-Feb-2007
[5509]
Ashley has some code that draws the buttons done in AGG.
Henrik
28-Feb-2007
[5510]
is #46 really the latest build? I have no experience with SVN.
Graham
28-Feb-2007
[5511x2]
#58
there's a version of svn for OSX
Pekr
28-Feb-2007
[5513x2]
pity I can't make a screenshot ... will do so at home ...
maybe Henrik is the right person to help us ;-) Chris is here very 
sporadically ...
Henrik
28-Feb-2007
[5515x2]
oh well, a pity I don't know how to use SVN so I can rescue you from 
unesthetical despair. :-)
isn't there SVN web access?
Graham
28-Feb-2007
[5517x2]
it's called trac.
http://trac.geekisp.com/rebgui/browser
Pekr
28-Feb-2007
[5519]
I am new to SVN, I don't know how to configure it properly, so I 
used "Save as" option on selected files ...
Henrik
28-Feb-2007
[5520]
it would be logical with a "Make Zip archive and download" button 
on the front page of that file list...
Graham
28-Feb-2007
[5521]
Ashley, what controls the highlighting of the word in the spellcheck? 
 I note the tour demo keeps the suspect word highlighted, but my 
change somewhere doesn't.  Is it an option in the behaviours in rebgui-ctx? 
 Or coded inside the spellcheck function?
Henrik
28-Feb-2007
[5522]
oh wow, yes those buttons in #59 are rather alternative...
Pekr
28-Feb-2007
[5523]
have you run tour.r? On main screen, the buttons look more like older 
view capsule buttons (IOS). On some other screens, it is not all 
that bad.
Henrik
28-Feb-2007
[5524]
well, they look acceptable here, as in they are antialiased, font 
is readable and such.
Pekr
28-Feb-2007
[5525]
I wonder if we can define radius? Because on button tab, there is 
new button look, the big button, which is more square, than others, 
which are rounded.
Henrik
28-Feb-2007
[5526]
yes we can
Pekr
28-Feb-2007
[5527]
Maybe it is just coloring, which distracts me. Whole background etc 
- beige, like in XP. I would vote for Detective design - clean, modern 
....
Henrik
28-Feb-2007
[5528]
http://hmkdesign.dk/rebol/cool/coolwidgets.png<--- actually it can 
be controlled quite precisely
Graham
28-Feb-2007
[5529]
are those AGG buttons??
Henrik
28-Feb-2007
[5530]
yes