Labeled frame. 
Author Message
 Labeled frame.

Hi all!

I want to use LabFrames in my project.
I use cyrillyc fonts, so I had to fix LabFrame.pm to add -font option
for frame label. Here is the correct code:

#==========================================
.
.
.
my $lside = exists $args->{-labelside} ?
    delete $args->{-labelside} : 'top';
my $ltext = delete $args->{-label};
my $lfont = delete $args->{-font};   # <----------
.
.
.
my $pad = $border->Frame;
$f = $border->Frame;
$label = $cw->Label(
           -text => $ltext,
           -font => $lfont           # <----------
           );
my $y = int
.
.
.
#==========================================

Best regards,
Vladimir Tikhonjuk



Thu, 24 Mar 2005 07:02:12 GMT  
 Labeled frame.

Quote:

> Hi all!

> I want to use LabFrames in my project.
> I use cyrillyc fonts, so I had to fix LabFrame.pm to add -font option
> for frame label. Here is the correct code:

> #==========================================
> .
> .
> .
> my $lside = exists $args->{-labelside} ?
>     delete $args->{-labelside} : 'top';
> my $ltext = delete $args->{-label};
> my $lfont = delete $args->{-font};      # <----------
> .
> .
> .
> my $pad = $border->Frame;
> $f = $border->Frame;
> $label = $cw->Label(
>            -text => $ltext,
>            -font => $lfont              # <----------
>            );
> my $y = int
> .
> .
> .
> #==========================================

I can't find this code snippet in ..../Tixish/LabFrame.pm. Can you
send a diff:

        diff -u LabFrame.pm.old LabFrame.pm

?

Regards,
        Slaven

--

    babybike - routeplanner for cyclists in Berlin
               handheld (e.g. Compaq iPAQ with Linux) version of bbbike
    http://bbbike.sourceforge.net



Mon, 28 Mar 2005 04:07:27 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Frame with a label problem

2. Changing Frame label font

3. Frame label font?

4. next label not reported as a bad label in BLOCK

5. Label within label

6. Creating sub frame in frame in an existing window

7. -side=>'top', -anchor=>'w' alignment of a frame label

8. Giving a label to a frame causes a hang?

9. $label->configure(-width => ?) vs $label->width

10. scope of labels in $SIG{} handlers

11. CGI.pm checkbox_group label problem.

12. CGI.pm scrolling_list labels problem

 

 
Powered by phpBB® Forum Software