MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / alignTextToRadioButton

Function alignTextToRadioButton

source/MRViewer/MRUIStyle.cpp:2347–2351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2345}
2346
2347void alignTextToRadioButton()
2348{
2349 // Radio button text position is rounded up
2350 alignTextToFramePadding( std::ceil( ( cRadioButtonSize * UI::scale() - GImGui->FontSize ) * 0.5f ) );
2351}
2352
2353void alignTextToCheckBox()
2354{

Callers

nothing calls this directly

Calls 3

alignTextToFramePaddingFunction · 0.85
ceilFunction · 0.85
scaleFunction · 0.70

Tested by

no test coverage detected