summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/FLTKPropertyItemRow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FLTKDialog/FLTKPropertyItemRow.cxx')
-rw-r--r--Source/FLTKDialog/FLTKPropertyItemRow.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.cxx b/Source/FLTKDialog/FLTKPropertyItemRow.cxx
index c55cd8b..e5607a4 100644
--- a/Source/FLTKDialog/FLTKPropertyItemRow.cxx
+++ b/Source/FLTKDialog/FLTKPropertyItemRow.cxx
@@ -26,7 +26,8 @@ PropertyItemRow::PropertyItemRow( PropertyItem * pItem )
Fl_Tile * group = new Fl_Tile(0,0,nameWidth+textWidth,rowHeight,"");
- group->parent()->size( nameWidth + textWidth , 100 );
+ // Make the parent Fl_Pack widget at least a row wide.
+ group->parent()->size( nameWidth + textWidth , rowHeight );
Fl_Button * name = new
Fl_Button( firstColumn, 0, nameWidth, rowHeight,