DataSetColumn.st
changeset 5839 c97a4a9153f2
parent 5673 d118ff306e7d
child 6042 65ee63cf658e
equal deleted inserted replaced
5838:fe3e9e2260c5 5839:c97a4a9153f2
  1251     "
  1251     "
  1252     |h end bE editorType row1|
  1252     |h end bE editorType row1|
  1253 
  1253 
  1254     (h := description height) == 0 ifTrue:[
  1254     (h := description height) == 0 ifTrue:[
  1255         containsText ifTrue:[
  1255         containsText ifTrue:[
  1256             "/ search first none empty drawable object
  1256             "/ search first non-empty drawable object
  1257             end := description numberOfRowsProbedForColumnSize min:dataSet size.
  1257             end := description numberOfRowsProbedForColumnSize min:dataSet size.
  1258 
  1258 
  1259             1 to:end do:[:rowNr| |row|
  1259             1 to:end do:[:rowNr| |row|
  1260                 row := dataSet at:rowNr.
  1260                 row := dataSet at:rowNr.
  1261                 h := h max:(self heightOfLabel:(self shownValueForRow:row rowNr:rowNr))
  1261                 h := h max:(self heightOfLabel:(self shownValueForRow:row rowNr:rowNr))
  1288         ].
  1288         ].
  1289     ].
  1289     ].
  1290     ^ h max:bE
  1290     ^ h max:bE
  1291 
  1291 
  1292     "Modified: / 13-09-2017 / 15:44:36 / cg"
  1292     "Modified: / 13-09-2017 / 15:44:36 / cg"
       
  1293     "Modified (format): / 29-07-2018 / 09:51:43 / Claus Gittinger"
  1293 !
  1294 !
  1294 
  1295 
  1295 heightOfLabel:aLabel
  1296 heightOfLabel:aLabel
  1296     "returns the height of the label"
  1297     "returns the height of the label"
  1297 
  1298