Skip Menu |
 

This queue is for tickets about the Tickit-Widgets CPAN distribution.

Report information
The Basics
Id: 106977
Status: new
Priority: 0/
Queue: Tickit-Widgets

People
Owner: Nobody in particular
Requestors: SKIM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tickit::Widget::Box problem with child_lines, child_cols percent values
Hi, There is a problem with child_lines, child_cols and others percent values. When i try example from doc, it doesn't run. Can't call method "lines" on an undefined value at /usr/local/share/perl/5.20.2/Tickit/Widget/Box.pm line 193. Problem is in this routine in resized() method: $subs{"set_$name"} = sub { my $self = shift; ( $self->{$name} ) = @_; $self->resized; }; When i comment resized() call, then run. But i don't know, if it is correct :-) Step by step: 'child_lines' in constructor: * set_child_lines() method ** set_child_lines_min() method *** resized() method **** lines() method ***** child_lines_min() method -> No parent window for percentage computing ***** child_lines_max() method -> No parent window for percentage computing **** cols() method ***** child_cols_min() method -> No parent window for percentage computing ***** child_cols_max() method -> No parent window for percentage computing ** set_child_lines_max() method *** resized() method [[SNIP]] Kind regards, Michal Špaček


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.