Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: half-disappearing text win32::gui

by dada (Chaplain)
on Feb 11, 2003 at 14:46 UTC ( #234408=note: print w/replies, xml ) Need Help??


in reply to half-disappearing text win32::gui

hmmmm.... I suspect you didn't specify a size for the Label AND the original text was shorter than the one you're changing it to.

when Win32::GUI creates a Label, it tries to fit the text specified in the -text parameter. but if you later change the text to something longer, the Label itself doesn't grow in dimension, so you may very well see only part of the text.

try giving a (big enough) size to the Label and see if it works (BTW, some sample code would help a lot :-).

cheers,
Aldo

King of Laziness, Wizard of Impatience, Lord of Hubris

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://234408]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-05-17 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?