Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ applyPadding
Function
applyPadding
core/ui/UIEditBox/UIEditBoxImpl-common.cpp:48–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
{
47
48
static Vec2 applyPadding(const Vec2& sizeToCorrect)
49
{
50
return Vec2(sizeToCorrect.width - AX_EDIT_BOX_PADDING * 2, sizeToCorrect.height);
51
}
52
53
namespace ui
54
{
Callers
3
setInactiveText
Method · 0.85
setInputMode
Method · 0.85
setContentSize
Method · 0.85
Calls
1
Vec2
Function · 0.50
Tested by
no test coverage detected