From: Alex T. <al...@tw...> - 2005-05-07 00:33:15
|
Bernie Hogan wrote: >Hi Everyone, > ><gripe> >Using the slider in the resource editor (pyCard 0.81) is a nightmare. > I haven't used sliders much (ok- I've only ever used them in the last 5 minutes ...), so need to ask for a bit more info. > The >numbers don't line up spontaneously, > I don't see any problem with the numbers lining up - the min and max values look to be fully aligned, and the "current value" box is aligned with the top of the min text (which means the actual characters are down a few pixels). Is that the problem - or is there something I haven't seen yet ? If it the alignment of current with min/max, it's almost certainly a wxWidgets issue. >sometimes it decides to resize the >slider to (-15, -1), > I'm pretty sure that'll be part of the general resizing problem - fixed in the experimental resource editor. I'm hoping it proves to be both stable and popular enough to replace the current resource Editor - but even if it isn't, the 2 or 3 actual bug fixes found so far will be backported to the current one. >and recently its been deciding that my names with >underscores are not allowed (using a dialog that I can't clear - leading to >me killing without saving) > > I've never got completely stuck in the dialog - I can always get out after 2 or three tries, and changing the name back to a valid one let's me carry on. Currently, "_" is disallowed in component names - but the checks are incomplete, so they can slip through in some places. (As a workaround, you can use Copy/Paste to create a new component with the name you want, rather than renaming the existing component). The reason for this restriction is because the "_"s are used to pick apart names for the automatic event binding. I suspect that it would be possible to (partially) relax this restriction. However, I believe that we should keep the restriction that component names must not start with an underscore (and perhaps also that they must not finish with one). Would your names be OK with that restriction ? >I also noticed that the numbers on the slider are not on the same pane. > > Sorry - you got me there .... what do you mean ? ></gripe> > >Was the slider a late introduction? > Doesn't seem like it - it was there at least as early as 0.7.3 (according to the docs - I didn't really use anything earlier than 0.8, so can't confirm it). >It seems much less solid than the other widgets. Has it been fixed a more recent release? > No (except for the resizing issue). And the naming restriction seems like it should be easily fixable. >Is this really a wxPython problem in disguise? > > The alignment might be. The problem of needing to click in the main (slider) part to select the component to move it is (indirectly) a wxWidget problem. The name restriction certainly isn't. . -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005 |