Skip to content

Instantly share code, notes, and snippets.

@ryrun
Created June 9, 2022 17:25
Show Gist options
  • Save ryrun/a23f249ab616fb87de35e41d49b0c003 to your computer and use it in GitHub Desktop.
Save ryrun/a23f249ab616fb87de35e41d49b0c003 to your computer and use it in GitHub Desktop.
REnoise ViewBuilder API remove margin from buttons
local function _b()
return vb:horizontal_aligner {
width = gridStepSizeW-2,
mode = "center",
vb:vertical_aligner {
height = gridStepSizeH-2,
mode = "center",
vb:button {
width = gridStepSizeW,
height = gridStepSizeH,
},
},
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment