logo       

Re: win size probs CPAN Gtk2-1.043: msg#00102

Subject: Re: win size probs CPAN Gtk2-1.043
Jens Wilke said:
> enlarging the window is possible and the hight can be reduced.

this means that set_resizable() worked.

> There seems to be a minimum width, which can't be overwritten with
> $win->set_default_size (x, y);

if the widgets within the window request more space than the window's default
size, the window will grow.

to allow the widgets to shrink (or at least to request less size) you need to
do things like use scrolled windows and more flexible packing.  for example,
if you have a list or text box in a scrolled window but the scroller's
horizontal scroll policy is set to "never", the widget will request as much
width as necessary to display everything.  (the fix:  use "automatic" instead)


> I figured out that Gtk2::Button require too much space in the
> Gtk2::HButtonBox.
> $hbox2->set_spacing_default(0); does not help.
> Buttons are 'add' or packed by 'pack_start ($o_NButton,0, 0,0)'

screenshot?


-- 
muppet <scott at asofyet dot org>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe