Lines Matching defs:padding
1108 DisplaySafeAreaPadding = ImVec2(3,3); // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows.
4628 // 'snap_on_edges' allows for a discontinuity at the edge of scrolling limits to take account of WindowPadding so that scrolling to make the last item visible scroll far enough to see the padding.
5033 // Lock border size and padding for the frame (so that altering them doesn't cause inconsistencies)
5142 ImVec2 padding = ImMax(style.DisplayWindowPadding, style.DisplaySafeAreaPadding);
5144 window->Pos = ImMax(window->Pos + size_for_clamping, padding) - size_for_clamping;
5145 window->Pos = ImMin(window->Pos, g.IO.DisplaySize - padding);
5662 // Align to a right-side limit. We include 1 frame padding in the calculation because this is how the width is always used (we add 2 frame padding to it), but we could move that responsibility to the widget as well.
7014 ImVec2 padding = GImGui->Style.DisplaySafeAreaPadding;
7016 r_screen.Expand(ImVec2((r_screen.GetWidth() > padding.x * 2) ? -padding.x : 0.0f, (r_screen.GetHeight() > padding.y * 2) ? -padding.y : 0.0f));
7021 // r_outer = the visible area rectangle, minus safe area padding. If our popup size won't fit because of safe area padding we ignore it.
8793 // We split text into individual lines to add current tree level padding
8807 if (g.LogStartDepth > window->DC.TreeDepth) // Re-adjust padding if we have popped out of our starting depth