Hello,

in this demo the label above the three playing card images isn't
completely shown, only the first line. I found two possibilities to
change this:

# setting the height explicitly. I don't know if "AutoResize=False" is
really necessary, there is no visible effect,
# but the documentation says it has to be false if WordWrap=True:
lbl = dabo.ui.dLabel(self, Alignment="Center", AutoResize=False,
Height=60, 
                     Width=400, WordWrap=True)
lbl.Caption = "Below are three dBitmapButtons. They will normally " + \
              "display the Ace of Spades, but when the mouse hovers over
them, their " + \
              "normal image will be the Ace of Hearts. If you click on them,
the image " + \
              "will change to the King of Spades for as long as you hold the
mouse down."
# setting the proportion - rather ugly, too much room between the text
and the cards
sz.append(lbl, proportion=1, halign="center")

Platform: Win
Python Version: 2.5.2 on win32
Dabo Version: Version 0.8.4; Revision ~4808
UI Version: 2.8.9.1 on wxMSW

Sibylle

-- 
Dr. Sibylle Koczian 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to