|
3 | 3 | listviewContents = {}
|
4 | 4 |
|
5 | 5 | listview = pd.ui.gridview.new(0, 10)
|
6 |
| -listview.backgroundImage = gfx.image.new(10, 10, gfx.kColorWhite) |
7 | 6 | listview:setNumberOfRows(16)
|
8 | 7 | listview:setCellPadding(0, 0, 5, 10)
|
9 |
| -listview:setContentInset(24, 24, 13, 11) |
| 8 | +listview:setContentInset(20, 20, 10, 10) |
10 | 9 |
|
11 | 10 | function listview:drawCell(section, row, column, selected, x, y, width, height)
|
12 | 11 | if selected then
|
|
26 | 25 | filePickListContents = {}
|
27 | 26 |
|
28 | 27 | filePickList = pd.ui.gridview.new(0, 10)
|
29 |
| -filePickList.backgroundImage = gfx.image.new(10, 10, gfx.kColorWhite) |
30 | 28 | filePickList:setNumberOfRows(1)
|
31 | 29 | filePickList:setCellPadding(0, 0, 5, 10)
|
32 |
| -filePickList:setContentInset(24, 24, 13, 11) |
| 30 | +filePickList:setContentInset(20, 20, 15, 10) |
33 | 31 |
|
34 | 32 | function filePickList:drawCell(section, row, column, selected, x, y, width, height)
|
35 | 33 | if filePickListContents[row] == ".." then
|
|
57 | 55 | settingsListContents = {}
|
58 | 56 |
|
59 | 57 | settingsList = pd.ui.gridview.new(0, 10)
|
60 |
| -settingsList.backgroundImage = gfx.image.new(10, 10, gfx.kColorWhite) |
61 | 58 | settingsList:setNumberOfRows(1)
|
62 | 59 | settingsList:setCellPadding(0, 0, 5, 10)
|
63 |
| -settingsList:setContentInset(24, 24, 13, 11) |
| 60 | +settingsList:setContentInset(20, 20, 15, 13) |
64 | 61 |
|
65 | 62 | function settingsList:drawCell(section, row, column, selected, x, y, width, height)
|
66 | 63 | if selected then
|
|
0 commit comments