Re: Memory Game in Pivot

2010-12-01 Thread Luiz Gustavo
Hi Greg, thanks! Hope you enjoy =) 2010/12/1 Greg Brown > Hi Luiz, > I haven't had a chance to take a look at this yet, but I plan to tomorrow. > Sounds very cool! > G > > On Dec 1, 2010, at 12:00 AM, Luiz Gustavo wrote: > > > Hi! > > > > I've written a little memory game in Pivot, and I'd lik

Re: Memory Game in Pivot

2010-12-01 Thread Greg Brown
Hi Luiz, I haven't had a chance to take a look at this yet, but I plan to tomorrow. Sounds very cool! G On Dec 1, 2010, at 12:00 AM, Luiz Gustavo wrote: > Hi! > > I've written a little memory game in Pivot, and I'd like to share it with you. > It can sound silly, but in my blog, a post about a

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Greg Brown
>> However, it should be OK to use a platform-specific font in our OS-specific >> themes - we should just test them to make sure that they look OK on that >> particular platform (for example, the Windows XP schemes don't need to look >> perfect in Ubuntu, since they shouldn't really be used ther

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Hi, > That's one of the reasons we chose Verdana as the default font - it is > available on all systems. We also chose it because, at the time, it was one > of the fonts that rendered consistently well in Java2D, though this is less > of an issue now that AWT text rendering has improved. I agree

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Greg Brown
That's one of the reasons we chose Verdana as the default font - it is available on all systems. We also chose it because, at the time, it was one of the fonts that rendered consistently well in Java2D, though this is less of an issue now that AWT text rendering has improved. However, it should

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Greg Brown
>> Maybe change WHITE to index 4 from the color palette? > yes, this is the patch. Looks good. > ### Eclipse Workspace Patch 1.0 > #P demos > Index: src/org/apache/pivot/demos/styles/ColorSchemeBuilderWindow.java > === > --- src/org/

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Hi, >> This evening I'll try to see if changing the default font in some custom >> colors file could be useful, for example in the TerraTheme_ubuntu.json >> file, if the default font in Ubuntu/Gnome is really different from our >> default (but choosing a font available in JRE on all platforms ...

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Hi Greg, > They are easy enough to create, especially if you are using the Pivot plugin > for Eclipse, so I don't think it is worth putting them in SVN. We'd also need > to remove or update them if the corresponding test app is removed or modified > - probably not worth it. my launch files (wit

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Greg Brown
Maybe change WHITE to index 4 from the color palette? On Dec 1, 2010, at 6:19 PM, Sandro Martini wrote: > Hi, > >>> This isn't a bug - it is just because the spinners are given a fixed width >>> in the color builder demo. >> Uh and it was simple to see ... thanks and excuse me for this (you know

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Greg Brown
They are easy enough to create, especially if you are using the Pivot plugin for Eclipse, so I don't think it is worth putting them in SVN. We'd also need to remove or update them if the corresponding test app is removed or modified - probably not worth it. G On Dec 1, 2010, at 6:05 PM, Sandro

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Hi, >> This isn't a bug - it is just because the spinners are given a fixed width >> in the color builder demo. > Uh and it was simple to see ... thanks and excuse me for this (you know, my > little time). > >> Not sure about the color index issue - feel free to look into it if you >> want. > I'll

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Hi, another quick question: in my eclipse workspace I have a project where I save all eclipse launch configurations (with all related parameters), useful to launch/test samples in different situations, without having to write them in another place. What do you think if I'd copy those files in a (n

Re: Little things in Pivot tutorials

2010-12-01 Thread Sandro Martini
Hi, >> >> Running latest Tutorials from Pivot-2.0 pre-release, from here: >> http://ixnay.biz/pivot-tutorials/ >> ... >> >> Important: running Tutorials I always get a (very annoying) Startup dialog >> from Java, asking me if block the Applet (default Yes = block), because it >> contains a mix of

Re: Editor transitions

2010-12-01 Thread Sandro Martini
Hi, > Right. I'd suggest that we revert to the simpler edit() and implement (c) for > now, and revisit (a) and (b) in an update release as needed. I agree with you, probably (c) is the best option at the moment, and see later if improve (a) and (b) Bye

Re: Editor transitions

2010-12-01 Thread Greg Brown
> I suppose the options are > a) never show edit effects- TableViewRowEditor.setEditEffect(null) > b) always show edit effects, even when the editor is already open and > another edit() request repositions it to a new row > c) show the initial open effect, and final close effect, but no others

Re: Editor transitions

2010-12-01 Thread Chris Bartlett
On 1 December 2010 23:10, Greg Brown wrote: > > I think I might have misunderstood your reasoning about #1? If my logic > determines that there should be no transition when the editor is closed, and > I choose to set the immediate flag on endEdit(), then I shouldn't be > surprised when no transi

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
> I'd put something like this in the tests project. Ok. > This evening I'll try to see if changing the default font in some custom > colors file could be useful, for example in the TerraTheme_ubuntu.json > file, if the default font in Ubuntu/Gnome is really different from our > default (but choos

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Greg Brown
I'd put something like this in the tests project. On Dec 1, 2010, at 11:06 AM, Sandro Martini wrote: > > Sorry, a last thing: > do you think could be useful to put under tests/the usual package/ (or > demos/the usual package) a json file like mine (with default fonts changed) > ? > So we can use

[jira] Commented: (PIVOT-677) Add ability to navigate a ButtonGroup of RadioButtons using the keyboard

2010-12-01 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965732#action_12965732 ] Greg Brown commented on PIVOT-677: -- At this point, we should only be fixing critical issues

Re: Editor transitions

2010-12-01 Thread Greg Brown
> I think I might have misunderstood your reasoning about #1? If my logic > determines that there should be no transition when the editor is closed, and > I choose to set the immediate flag on endEdit(), then I shouldn't be > surprised when no transition occurs! :) I just meant that this sol

[jira] Commented: (PIVOT-677) Add ability to navigate a ButtonGroup of RadioButtons using the keyboard

2010-12-01 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965726#action_12965726 ] Sandro Martini commented on PIVOT-677: -- Hi, why not fix this in the 2.0 ? Keyboard nav

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Sorry, a last thing: do you think could be useful to put under tests/the usual package/ (or demos/the usual package) a json file like mine (with default fonts changed) ? So we can use it (or our users) for tests when i18n things happens (like today's "Asian characters" post) ? This evening I'll t

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Hi Greg, > This isn't a bug - it is just because the spinners are given a fixed width > in the color builder demo. Uh and it was simple to see ... thanks and excuse me for this (you know, my little time). > Not sure about the color index issue - feel free to look into it if you > want. I'll lo

Re: Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Greg Brown
This isn't a bug - it is just because the spinners are given a fixed width in the color builder demo. Not sure about the color index issue - feel free to look into it if you want. On Dec 1, 2010, at 10:24 AM, Sandro Martini wrote: > > Hi to all, > after some tests for answering to this ( > htt

[jira] Created: (PIVOT-677) Add ability to navigate a ButtonGroup of RadioButtons using the keyboard

2010-12-01 Thread Chris Bartlett (JIRA)
Add ability to navigate a ButtonGroup of RadioButtons using the keyboard Key: PIVOT-677 URL: https://issues.apache.org/jira/browse/PIVOT-677 Project: Pivot Issue Type:

Dimensions not updated in the right way when changing the default font

2010-12-01 Thread Sandro Martini
Hi to all, after some tests for answering to this ( http://apache-pivot-users.399431.n3.nabble.com/Asian-characters-td1996531.html ), I've found a little thing in latest Pivot sources from the trunk: changing the default font inside the TerraTheme_default.json (or a my custom version of it), for e

Editor transitions

2010-12-01 Thread Greg Brown
I can think of two possible solutions to the editor transition issue: 1) Provide a boolean "immediate" flag to endEdit(). If true, the editor should not run any transitions but should instead close immediately. 2) Provide a listener argument to endEdit() that will be called when the transition