Skip to content

Commit d3f9d5b

Browse files
committed
Update code docs
1 parent 5a2ad74 commit d3f9d5b

2 files changed

Lines changed: 10 additions & 14 deletions

File tree

docs/components_config_JRServer.bs.html

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,18 @@
77
m.poster = m.top.findNode("poster")
88
m.name = m.top.findNode("name")
99
m.baseUrl = m.top.findNode("baseUrl")
10-
m.labels = m.top.findNode("labels")
1110

1211
' Set focus border color to primary color and size it to cover the entire component
13-
if isValid(m.focusBorder)
14-
m.focusBorder.blendColor = m.global.constants.colorPrimary
15-
' Size the border to cover the entire component with some padding
16-
' get the itemSize of the parent MarkupList
17-
parentList = m.top.getParent()
18-
if isValid(parentList) and parentList.hasField("itemSize")
19-
itemSize = parentList.itemSize
20-
if isValid(itemSize) and itemSize.Count() = 2
21-
m.focusBorder.width = itemSize[0]
22-
m.focusBorder.height = itemSize[1]
23-
end if
12+
m.focusBorder.blendColor = m.global.constants.colorPrimary
13+
' Size the border to cover the entire component with some padding
14+
' get the itemSize of the parent MarkupList
15+
parentList = m.top.getParent()
16+
if isValid(parentList) and parentList.hasField("itemSize")
17+
itemSize = parentList.itemSize
18+
if isValid(itemSize) and itemSize.Count() = 2
19+
m.focusBorder.width = itemSize[0]
20+
m.focusBorder.height = itemSize[1]
2421
end if
25-
' m.focusBorder.translation = [-10, -5]
2622
end if
2723
end sub
2824

docs/components_ui_timegrid_JRTimeGrid.bs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
m.top.automaticLoadingDataFeedback = false
99
m.top.showLoadingDataFeedback = true
1010
m.top.showPastTimeScreen = true
11-
m.top.focusBitmapUri = "pkg:/images/white-focus.9.png"
11+
m.top.focusBitmapUri = "pkg:/images/9patch/border-6px.9.png"
1212
m.top.focusBitmapBlendColor = constants.colorPrimary
1313
m.top.iconFocusedColor = "#ff0000"
1414

0 commit comments

Comments
 (0)