nanogui: FLNX 0.14 - scrolling problem


Previous by date: 9 Nov 2000 16:10:11 -0000 Re: Shared Library, Jordan Crouse
Next by date: 9 Nov 2000 16:10:11 -0000 Q: Netscape on nano-X with frame buffer..., Krzysztof Ingram
Previous in thread: 9 Nov 2000 16:10:11 -0000 FLNX 0.14 - scrolling problem, eric_wong.vtech.com
Next in thread:

Subject: Re: FLNX 0.14 - scrolling problem
From: Jeff Moellmer ####@####.####
Date: 9 Nov 2000 16:10:11 -0000
Message-Id: <3A0ADBF9.5080902@censoft.com>

Eric,

I'm not exactly sure what you mean. Do you mean that the input widget's 
label does not align exactly with the widget? Could you send some screen 
shots of the problem, perhaps that will help.

Thanks,

Jeff

####@####.#### wrote:

> Hi Jeff,
> 
> I'd like to resize the Tabs group to fit the window when the virtual keypad is
> actived or disactived (toggled).
> I find no problem when the Tabs Group is resized and the scroll bar is
> automatically shown on the right. However, the label of input field is crashed
> (the labels seem overlapped) when scrolling.
> What am I doing wrong? Please advise how to resolve this problem.
> Can I redraw it after scrolling? But, I find no event issued during scrolling.
> What can I do?
> 
> Here list the part of my program for reference.
> 
> //toggle keypad
> void Pb::keypad() {
> if(flag) {
>  Disp->CatTabsGp->size(240,150);   //shrink the Tabs group when keypad is
> actived
>  KeyPadDisp->KeyPadGp->show();     //invoke the keypad
> } else {
>  KeyPadDisp->KeyPadGp->hide();     //hide the keypad
>  Disp->CatTabsGp->size(240,220);   //grow the Tabs group when keypad is
> disactived
> }
> flag^=true;
> }
> 
> //create the Tabs group for user input
> void Disp::inputDisp()
> {
> //...omit something
> 
>       { Fl_Tabs* o = CatTabsGp = new Fl_Tabs(0, 0, 240, 229);          //create
> the Tabs group, default as large size
>         o->callback((Fl_Callback*)cb_CatTabsGp);
>         { Fl_Group* o = CompanyInfo = new Fl_Group(0, 19, 240, 210, "Company
> Info");
>           o->labelsize(11);
>           { Fl_Scroll* o = new Fl_Scroll(0, 19, 240, 210);
>             { Fl_Input* o = Company = new Fl_Input(60, 19, 160, 20, "Company:");
>               o->box(FL_THIN_DOWN_BOX);
>               o->labelsize(11);
>               o->textfont(5);
>               o->textsize(11);
>             }
> //...omit other input field
>             o->end();
>             Fl_Group::current()->resizable(o);
>           }
>           o->end();
>         }
>         o->end();
>       }
> 
> //... omit something
> }
> 
> 
> Thanks,
> HiFi Wong.
> 
> 
> 
> 


Previous by date: 9 Nov 2000 16:10:11 -0000 Re: Shared Library, Jordan Crouse
Next by date: 9 Nov 2000 16:10:11 -0000 Q: Netscape on nano-X with frame buffer..., Krzysztof Ingram
Previous in thread: 9 Nov 2000 16:10:11 -0000 FLNX 0.14 - scrolling problem, eric_wong.vtech.com
Next in thread:


Powered by ezmlm-browse 0.20.