GE Lua Documentation

Press F to search!

GetTextLineHeightWithSpacing

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:257
function M.GetTextLineHeightWithSpacing() return imgui.GetTextLineHeightWithSpacing() end

Callers

@/lua/ge/extensions/flowgraph/basenode.lua
  im.SetWindowFontScale(editor.getPreference("ui.general.scale"))
-- im.BeginChild1("ncm##"..self.id, im.ImVec2(150*editor.getPreference("ui.general.scale"), entries * im.GetTextLineHeightWithSpacing() * editor.getPreference("ui.general.scale")))
@/lua/ge/extensions/editor/fileDialog.lua

      im.BeginChild1("##GuiChild1", im.ImVec2(0, - im.GetTextLineHeightWithSpacing() - im.GetStyle().ItemSpacing.y), true)
      if withPreview == true and selectedFile then
@/lua/ge/extensions/editor/missionEditor.lua
    local missionListWidth = im.GetColumnWidth(0) -15
    local filterHeight = im.GetTextLineHeightWithSpacing()
    local winHeight = im.GetContentRegionAvail().y - filterHeight
@/lua/ge/extensions/ui/console.lua
      local displayEnd = im.IntPtr(0)
      local lines_height = math.ceil(im.GetTextLineHeightWithSpacing()) --round up else last line is not displayed
      local lines_count = #logFiltered
  --     local displayEnd = im.IntPtr(0)
  --     -- local lines_height = im.GetTextLineHeightWithSpacing() --math.floor( im.GetFontSize() + im.GetStyle().ItemSpacing.y ) + 0--10px spacing table
  --     local lines_height = math.ceil(im.GetTextLineHeightWithSpacing())
  --     -- local lines_height = im.GetTextLineHeightWithSpacing() --math.floor( im.GetFontSize() + im.GetStyle().ItemSpacing.y ) + 0--10px spacing table
  --     local lines_height = math.ceil(im.GetTextLineHeightWithSpacing())
  --     local lines_count = 64
@/lua/ge/extensions/flowgraph/nodes/debug/comment.lua
    min.x = min.x+4
    min.y = min.y - im.GetTextLineHeightWithSpacing() + 2
    local itemSize = im.CalcTextSize(self.commentTitle)
@/lua/ge/extensions/editor/util/plotHelperUtil.lua
      if xPos then
        im.SetCursorPos(im.ImVec2(xPos.x, botPos.y - im.GetTextLineHeightWithSpacing()))
        im.Text(" "..label)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veJBeamModifierLeakVis.lua

    local textHeight = im.GetTextLineHeightWithSpacing()
@/lua/ge/extensions/flowgraph/builder.lua
    self.HeaderRect = GetItemRect()
    self.HeaderRect.h = (im.GetTextLineHeightWithSpacing()+2) * im.uiscale[0]