Meir wrote:

> now im trying to build user re-sizable edit-box so the user could resize it 
> with handlers on top of the layot
> for what component should i look for this task

FLTK has built-in resizing if you make the window resizable [1]. You can 
arrange other widgets in a way that only the edit box changes its size 
when the window is resized (e.g. if it is the resizable() widget of a 
group or the window). Maybe this is what you want or need. Try the 
test/resizebox example to see how this works. You may also need to set a 
size range [2].

As Ian mentioned, there is Fl_Text_Editor, an edit box with scroll bars. 
The test/editor example shows how this can be resized.

What FLTK version are you testing? There are differences in widget 
names, methods, and behavior. I used FLTK 1.x names, and Ian did this as 
well, and Greg's examples are for 1.x, too.

The given links are for FLTK 1.1, but can also be used for FLTK 1.3.

Albrecht

[1] http://www.fltk.org/doc-1.1/Fl_Group.html#Fl_Group.resizable
[2] http://www.fltk.org/doc-1.1/Fl_Window.html#Fl_Window.size_range
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to