The key thing I did was make a panel within the frame, and put the
important stuff on the panel.
I'm still trying to wrap my head around enough layout rules so I can
figure out why things are clipped now, though... The area with
displayed ship and rocks is 300 by 300. The ship and rocks can go
about one ship-width into that clipped area to the right of that
(disappearing), and the outer frame is about another extra ship-width
Santa Barbara, CA | me@...
On Tue, Oct 4, 2011 at 8:18 AM, Dave Tapley <dukedave@...> wrote:
> On 4 October 2011 09:43, Kevin Cantu <me@...> wrote:
>> Thanks, that seems to have done the trick.
>> Now, tomorrow I'm going to have to read up on how to fix some simpler
>> layout problems. :)
>> Kevin Cantu
>> Santa Barbara, CA | me@...
>> On Mon, Oct 3, 2011 at 11:54 AM, carlos gomez <carliros.g@...> wrote:
>>> The problem is that the keyboard events are not been listened (I think
>>> because of the focus), but I remember I changed the window
>>> listenner to another window or panel, and then it worked.
> Ah, interesting.
> I had a similar problem under Linux, where keyboard events were not
> being detected.
> My 'workaround' was to use 'tab' to change the focus within the window
> to the panel which had the even listener, only when it had focus were
> keyboard events triggered.
> Subsequently someone suggested that "WXCore.windowSetFocus" could be
> used, it takes in the panel which needs focus and worked for me.
>>> On 3 October 2011 05:28, Kevin Cantu <me@...> wrote:
>>>> I was just trying out wxAsteroids (from Hackage) and found that the
>>>> controls don't work on my system, although I'm told they work for
>>>> someone using OS X. This is baffling to me.
>>>> I'm running Ubuntu 11.10 Oneiric Ocelot and Xfce (xubuntu). Once I
>>>> start the wxAsteroids program, I'm able to start a new game with
>>>> CTRL-N, pause with CTRL-P, and quit with CTRL-Q, but I can't move the
>>>> ship with arrow keys, or speed it up with + or -, at all.
>>>> Any ideas why?
>>>> Kevin Cantu
>>>> Santa Barbara, CA | me@...
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> wxhaskell-users mailing list