SuperToolTip and 2.9.5 preview

Hi,

I am having some layout problems with STT which I can also see in the demo.

- body image overlaps header
- footer is not shown

Are these known problems?

Werner

Besides the above I also had problems that it sometimes was not quit
wide enough to hold the footer text.
Attached is a suggested path which fixes these 3 problems for me in
my application and I also checked it with the demo.
I have one outstanding issue which I can’t figure out yet.
In the following image I clicked on 2nd red circle on the bottom
left and the STT shows up nicely, now if I don’t let the timer
expire but move the mouse a bit it disappears (which is fine) and
then shows up on the bottom left (or right, depending on where on
the screen the canvas is) of the FC.canvas. It seems as something
is capturing a “mouse” object enter event and displays the STT
again.
FYI, the canvas is used on SetTarget and on clicking of a object
within the canvas I use self.tip.GetTipWindow().Move(clickpos) to
get it to show where I like it to show.
Anyone has a tip on how to fix this last problem?
What about having a self.tip.Move method which does the move and
remembers this new position?
Werner

supertooltip.patch (2.17 KB)

···

Hi,

  On 23/01/2013 20:36, Werner wrote:
  Hi,




  I am having some layout problems with STT which I can also see in

the demo.

  - body image overlaps header


  - footer is not shown




  Are these known problems?
  Werner

It doesn’t quit make it wide enough if either the footer is even
wider or the header text is wider.� Problem can be seen in the demo
if one makes these texts wider then what the body text will require.
Figured that one out, I am binding the mouse events which STT is
also binding and don’t call event.skip on them.
Werner

···

On 24/01/2013 15:12, Werner wrote:

  Besides the above I also had problems that it sometimes was not

quit wide enough to hold the footer text.
Attached is a suggested path which fixes these 3 problems for me
in my application and I also checked it with the demo.

  I have one outstanding issue which I can't figure out yet.



  In the following image I clicked on 2nd red circle on the bottom

left and the STT shows up nicely, now if I don’t let the timer
expire but move the mouse a bit it disappears (which is fine) and
then shows up on the bottom left (or right, depending on where on
the screen the canvas is) of the FC.canvas.� It seems as something
is capturing a “mouse” object enter event and displays the STT
again.

Hi,

    On 23/01/2013 20:36, Werner wrote:

Hi,

    I am having some layout problems with STT which I can also see

in the demo.

    - body image overlaps header

    - footer is not shown



    Are these known problems?

Werner wrote:

Hi,

Hi,

I am having some layout problems with STT which I can also see in the
demo.

- body image overlaps header
- footer is not shown

Are these known problems?

Besides the above I also had problems that it sometimes was not quit
wide enough to hold the footer text.

Attached is a suggested path which fixes these 3 problems for me in my
application and I also checked it with the demo.

Andrea, have you had a chance to review this patch yet?

···

On 23/01/2013 20:36, Werner wrote:

--
Robin Dunn
Software Craftsman

Hi Andrea and Robin,

supertooltip 2.patch (2.54 KB)

···

On 28/01/2013 23:07, Robin Dunn wrote:

Werner wrote:

Hi,

On 23/01/2013 20:36, Werner wrote:

Hi,

I am having some layout problems with STT which I can also see in the
demo.

- body image overlaps header
- footer is not shown

Are these known problems?

Besides the above I also had problems that it sometimes was not quit
wide enough to hold the footer text.

Attached is a suggested path which fixes these 3 problems for me in my
application and I also checked it with the demo.

Andrea, have you had a chance to review this patch yet?

Here an updated patch, this one also fixes the header text size issue.

It is over sizing by the spacing if there is no header bitmap.

Checked it with my stuff and with the demo.

Werner

Hi Werner,

Hi Andrea and Robin,

Werner wrote:

Hi,

Hi,

I am having some layout problems with STT which I can also see in the
demo.

- body image overlaps header
- footer is not shown

Are these known problems?

Besides the above I also had problems that it sometimes was not quit
wide enough to hold the footer text.

Attached is a suggested path which fixes these 3 problems for me in my
application and I also checked it with the demo.

Andrea, have you had a chance to review this patch yet?

Here an updated patch, this one also fixes the header text size issue.

It is over sizing by the spacing if there is no header bitmap.

Checked it with my stuff and with the demo.

Thank you for the patch, I have just applied it in SVN. Sorry for the
delay, I have been swamped by work and I am still on wxPython 2.9.4...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

    if mention_platform_and_version() and include_sample_app():
        send_message(email)
    else:
        install_malware()
        erase_hard_drives()
# ------------------------------------------------------------- #

···

On 29 January 2013 11:38, Werner wrote:

On 28/01/2013 23:07, Robin Dunn wrote:

On 23/01/2013 20:36, Werner wrote:

Hi Andrea,

...

Thank you for the patch, I have just applied it in SVN. Sorry for the
delay, I have been swamped by work and I am still on wxPython 2.9.4...

I just guessed that you went off on vacation without bothering to tell us:-) .

Werner

···

On 30/01/2013 21:29, Andrea Gavana wrote: