From: Rudy S. <rud...@pa...> - 2002-09-25 15:55:58
|
Hi folks, I'm have something strange here and I wondered if I just discovered a = bug. When I add a label (type StaticText) to the canvas and I change the font = including its size, the text is only partially shown when I run it. When I edit the .rsrc.py and add the size to the StaticText, it appears = good when I run it, but the size value disappears when I open the = rsrc.py again with the resource editor. Rudy |
From: Brian D. <deb...@ho...> - 2006-07-17 15:26:09
|
Hi everyone... I wonder... the button problem in the resource editor is a wxPyhton problem???? or a Python2.4 problem??? I noticed this when I migrated to Python2.4... This is very annoying... Although... using the layout editor the dialog "You double clicked please dont" appears always when trying to click outside a button... Hope this get fixed soon... Regards Brian _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ |
From: Alex T. <al...@tw...> - 2006-07-17 16:26:40
|
Brian Debuire wrote: >Hi everyone... > >I wonder... the button problem in the resource editor is a wxPyhton >problem???? or a Python2.4 problem??? > >I noticed this when I migrated to Python2.4... > >This is very annoying... > >Although... using the layout editor the dialog "You double clicked please >dont" appears always when trying to click outside a button... > >Hope this get fixed soon... > > I haven't seen this problem - could you please describe it (and your environment - OS, version of Python / wxPython / PythonCard, etc.) and the sequence of steps that leads up to it. Thanks -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 14/07/2006 |
From: Alex T. <al...@tw...> - 2006-07-17 21:12:22
|
Alex Tweedly wrote: >Brian Debuire wrote: > > > >>Hi everyone... >> >>I wonder... the button problem in the resource editor is a wxPyhton >>problem???? or a Python2.4 problem??? >> >>I noticed this when I migrated to Python2.4... >> >>This is very annoying... >> >>Although... using the layout editor the dialog "You double clicked please >>dont" appears always when trying to click outside a button... >> >> >> Just to explain the background to that "You have double-clicked" message ..... this dialog is put up when the editor gets a mouse event which is from a control, but the co-ordinates that are associated with the event are not within the bounding rectangle of the control. This used to happen around March/April last year, I think it was prior to 0.8.1 being released; and I put in this check and dialog, followed by a return from the handler. It always (then) seemed to happen on the mouseDown immediately after double-clicking on a button (which is not an action that is used for any purpose, just a bad habit I had :-) ), and I eventually found that putting in an empty handler for on_mouseDoubleClick() seemed to fix it - but I left the check/dialog in there anyway. So if I can find out what triggers it, I should be able to either figure out why it's doing it, or perhaps add another empty handler for another event type. So I'd really like to get enough info to be able to reproduce it. I suspect it's not a common occurrence (either that or there are some very tolerant users out there), given the lack of complaints about it. You should be able to reduce the annoyance it causes by simply commenting out the dialog placement from if (not r.Inside(clientPosition)): self.panel.SetFocus() junk = dialog.alertDialog(self, "You double-clicked - please don't", 'a title') return and make it simply if (not r.Inside(clientPosition)): self.panel.SetFocus() ##junk = dialog.alertDialog(self, "You double-clicked - please don't", 'a title') return around line 700 of layoutEditor.py -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 14/07/2006 |
From: Brian D. <deb...@ho...> - 2006-07-19 22:01:49
|
Hi there, I list the steps to my problem... - Create a new app - Select a button - Place the button where I want - click outside the button to deselect it... WOW... it doesnt work!!! the button never gets unselected, i minimize all in my desktop with the show desktop button... Hope this helps to find out my problem... It is strange that noone else has the same issues.... I'll try installing on a friends computer and see what happens PD: My dependecies are... Python 2.4 wxPython 2.5 PythonCard 0.82 on a windows XP SP2 machine Alex wrote... >You should be able to reduce the annoyance it causes by simply commenting >out the dialog placement from > if (not r.Inside(clientPosition)): > self.panel.SetFocus() > junk = dialog.alertDialog(self, "You double-clicked - >please don't", 'a title') > return I already did that... but doesnt work either... Thanks in advance _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ |