FLTK logo

Re: [fltk.general] Re: Fl_Input not updating when typing

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: Fl_Input not updating when typing imm Oct 31, 2020  
 
On Fri, 30 Oct 2020, 22:37 lifeatt.. wrote:
I found the problem.

In PropertiesEditorWindow::addTabs(), you create your tab widget as follows:

    Fl_Tabs *tabs = new Fl_Tabs(5, 0, 530, 30);

Change it to:

    Fl_Tabs *tabs = new Fl_Tabs(5, 0, 530, 300);

And all will be well.

[The window is 330 pixels high; the interior group is 250 pixels high; the small tab height is blocking redraw of any contained widgets.]


Good catch K.

I actually did take a squint at the sample code (despite saying I wouldn't) looking for exactly that sort of error, as I was assuming it was a widget area / visibility thing.

And I totally missed that... I can only imagine I saw the 30 as 300 and thought it was OK!

Cheers,
-- 
Ian
From my Fairphone FP3

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6daGHo1LRP8HsuDa0fcVYn5by-y%3DFHOY-%2BxhnDRsZdV8YQ%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.