Skip to content
Snippets Groups Projects
Commit 0e944b5f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

nicer

parent 9468f0e9
Branches
Tags
No related merge requests found
...@@ -1296,6 +1296,7 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::region &p, Fl_Tree_Item *n, ...@@ -1296,6 +1296,7 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::region &p, Fl_Tree_Item *n,
{ {
n->labelsize(FL_NORMAL_SIZE + 5); n->labelsize(FL_NORMAL_SIZE + 5);
int ww = _baseWidth - (n->depth() + 1) * _indent; int ww = _baseWidth - (n->depth() + 1) * _indent;
ww /= 2;
// non-editable value // non-editable value
if(p.getReadOnly()){ if(p.getReadOnly()){
...@@ -1319,6 +1320,7 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::function &p, Fl_Tree_Item *n ...@@ -1319,6 +1320,7 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::function &p, Fl_Tree_Item *n
{ {
n->labelsize(FL_NORMAL_SIZE + 5); n->labelsize(FL_NORMAL_SIZE + 5);
int ww = _baseWidth - (n->depth() + 1) * _indent; int ww = _baseWidth - (n->depth() + 1) * _indent;
ww /= 2;
// non-editable value // non-editable value
if(1 || p.getReadOnly()){ if(1 || p.getReadOnly()){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment