changeset 5601 | fd6296176c88 |
parent 5564 | 0a0945b07086 |
child 5640 | abd92bfe3252 |
5600:eb6048aada56 | 5601:fd6296176c88 |
---|---|
1272 ]. |
1272 ]. |
1273 ] ifFalse:[ |
1273 ] ifFalse:[ |
1274 (h == #fontHeight or:[ h isNumber and:[h < 0] ]) ifTrue:[ |
1274 (h == #fontHeight or:[ h isNumber and:[h < 0] ]) ifTrue:[ |
1275 h := dataSet font heightOn:dataSet device. |
1275 h := dataSet font heightOn:dataSet device. |
1276 ] ifFalse:[ |
1276 ] ifFalse:[ |
1277 h := 0 |
1277 h isNumber ifFalse:[ |
1278 h := 0 |
|
1279 ]. |
|
1278 ]. |
1280 ]. |
1279 ]. |
1281 ]. |
1280 ]. |
1282 ]. |
1281 |
1283 |
1282 (bE := buttonExtent y) = 0 ifTrue:[ |
1284 (bE := buttonExtent y) = 0 ifTrue:[ |
1285 bE := dataSet comboButtonExtent y. |
1287 bE := dataSet comboButtonExtent y. |
1286 ]. |
1288 ]. |
1287 ]. |
1289 ]. |
1288 ^ h max:bE |
1290 ^ h max:bE |
1289 |
1291 |
1290 "Modified: / 20-01-2011 / 18:03:45 / cg" |
1292 "Modified: / 13-09-2017 / 15:44:36 / cg" |
1291 ! |
1293 ! |
1292 |
1294 |
1293 heightOfLabel:aLabel |
1295 heightOfLabel:aLabel |
1294 "returns the height of the label" |
1296 "returns the height of the label" |
1295 |
1297 |