Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Gtk2::Dialog window size

by Anonymous Monk
on Jul 01, 2016 at 00:50 UTC ( [id://1166963]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Gtk2::Dialog window size
in thread Gtk2::Dialog window size

its simple, create a "label" widget using the same "system" font with the sane font size as used for the title, let the size be automatic, then "get" the dimensions of the "label"

kinda like this Re^3: Query the height of Tk::Text widget with word wrap, Re^7: Query the height of Tk::Text widget with word wrap

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-03-29 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found