diff --git a/Fltk/onelabGroup.cpp b/Fltk/onelabGroup.cpp index e094d329c7954e5f6c9a6a76670bdcdab1a84064..e6f632d0729b0e197907c2673642c6fbaa2cfdf4 100644 --- a/Fltk/onelabGroup.cpp +++ b/Fltk/onelabGroup.cpp @@ -1296,6 +1296,7 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::region &p, Fl_Tree_Item *n, { n->labelsize(FL_NORMAL_SIZE + 5); int ww = _baseWidth - (n->depth() + 1) * _indent; + ww /= 2; // non-editable value if(p.getReadOnly()){ @@ -1319,6 +1320,7 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::function &p, Fl_Tree_Item *n { n->labelsize(FL_NORMAL_SIZE + 5); int ww = _baseWidth - (n->depth() + 1) * _indent; + ww /= 2; // non-editable value if(1 || p.getReadOnly()){