Skip to content

Commit

Permalink
deploy: da80739
Browse files Browse the repository at this point in the history
  • Loading branch information
sahehb committed Mar 11, 2024
1 parent d2cb5d7 commit c24a5a2
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions examples/data_objects/contours/example6/ContourExample6.mlab
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module View2D {
window _default {
geometry = "983 196 753 595"
sizeHint = "400 400"
wasOpen = yes
wasOpen = no
}
}
}
Expand Down Expand Up @@ -198,7 +198,7 @@ module CSOManager {
listSingleRemoveEmptyGroupHandling = RemoveAlways
listDefaultRemoveEmptyGroupHandling = RemoveAlways
enableUndoRedo = TRUE
numUndos = 2
numUndos = 1
numRedos = 0
undoStackLimit = 16
useSelectionCSONotification = FALSE
Expand Down Expand Up @@ -426,7 +426,7 @@ module CSOLabelRenderer {
moduleGroupName = ""
windows {
window _default {
geometry = "734 292 453 557"
geometry = "549 290 453 557"
sizeHint = "453 557"
wasOpen = no
}
Expand All @@ -440,20 +440,17 @@ module CSOLabelRenderer {
shouldDrawLabelBorderForSelectedCSO = TRUE
labelBorderMarginX = 2
labelBorderMarginY = 2
currentCSOId = 2
labelName = "Rectangle 2"
currentCSOId = 1
labelName = "Distance Line 1"
labelCaption = ""
labelString = "Length: 158.79 mm
Area: 1546.56 mm^2"
labelString = "Length: 61.52 mm"
labelCode = "if cso.getSubType() == 'distanceLine':
labelString = f'{userData0} {cso.getLength():.2f} mm'
labelName = userData1
labelName += str(cso.getId())
labelName = f'{userData1} {cso.getId()}'
elif cso.getSubType() == 'rectangle':
labelString = f'{userData0} {cso.getLength():.2f} mm\\n'
labelString += f'{userData2} {cso.getArea():.2f} mm^2'
labelName = userData3
labelName += str(cso.getId())
labelName = f'{userData3} {cso.getId()}'
deviceOffsetX = 0
deviceOffsetY = 0"
shouldRenderLabelName = TRUE
Expand Down

0 comments on commit c24a5a2

Please sign in to comment.