GE Lua Documentation

Press F to search!

Unindent

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:240
function M.Unindent(float_indent_w)
  if float_indent_w == nil then float_indent_w = 0 end
  imgui.Unindent(float_indent_w)
end

Callers

@/lua/ge/extensions/editor/forestEditor.lua
    end
    im.Unindent()
  end
@/lua/ge/extensions/editor/slotTrafficEditor.lua
            end
            im.Unindent()
          end
@/lua/ge/extensions/core/quickAccess.lua
          renderTree(value, currentPath)
          im.Unindent() -- Remove indentation after rendering child elements
        end
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if float_indent_w == nil then float_indent_w = 0 end
  imgui.Unindent(float_indent_w)
end
@/lua/ge/extensions/editor/gen/lib/ui.lua
        im.TextColored(c, txt)
--        im.Unindent(50)
    else
        im.TextColored(c, txt)
        im.Unindent(4+shift.x)
    end
--    im.Indent(-1) --dim.x+6)
--    im.Unindent(-1) --dim.x+6)
    im.Indent()
    im.Unindent()
    if dicon[src] then
--  labelHide(nil)
--  im.Unindent(0)
end
	if not nolabel then
--		im.Unindent(conf.inputMargin)
	end
	if not nolabel then
--		im.Unindent(conf.inputMargin)
	end
--  labelHide(nil)
--  im.Unindent(conf.inputMargin)
end
	labelHide(-(im.CalcTextSize(id).x+10))
--  im.Unindent(conf.inputMargin)
end
					else
						im.Unindent(-6)
						im.Text('')
@/lua/ge/extensions/editor/dynamicDecals/textures.lua
        end
        im.Unindent()
      end,
        end
        im.Unindent()
      end,
@/lua/ge/extensions/editor/materialEditor.lua
      animationProperties(lyr)
      im.Unindent()
    end
@/lua/ge/extensions/c2/panelPlugins/tileManager.lua
           if im.Checkbox("Advanced (OBB)", p_drawObjectsAdvanced) then debugState.drawObjectsAdvanced = p_drawObjectsAdvanced[0] end
           im.Unindent()
        end
           if im.Checkbox("Draw Text", p_drawDecalText) then debugState.drawDecalText = p_drawDecalText[0] end
           im.Unindent()
        end
           if im.Checkbox("Draw Marking Nodes", p_drawRoadMarkingNodes) then debugState.drawRoadMarkingNodes = p_drawRoadMarkingNodes[0] end
           im.Unindent()
        end
           if im.Checkbox("Advanced (Lanes)", p_drawAIGraphAdvanced) then debugState.drawAIGraphAdvanced = p_drawAIGraphAdvanced[0] end
           im.Unindent()
        end
@/lua/ge/extensions/editor/dynamicDecals/layerStack.lua

        im.Unindent(indentWidth)
      end
    layerDragDropTarget("first_child", layer, guiId, 1, layer.uid, k, nil, {1,0,0,1})
    im.Unindent()
  end
@/lua/ge/extensions/editor/gen/exp_meshexplorer.lua
                                            UI.check('','beam_pick',b.sel)
                                            im.Unindent(-8)
                                            if im.IsItemClicked() then
                im.PopFont()
                im.Unindent(12)
                im.tooltip(inmesh and 'To JBeam parts' or 'To mesh parts')
                    end
                    im.Unindent(10)
                end
                                UI.buttonImg('fav_filter_on', 'star', im.ImVec2(iconsz,iconsz), color, nil, vec3(0.6,0.6))
                                im.Unindent(-4)
                                im.tooltip('Favorites filter')
                                UI.buttonImg('fav_to', 'star', im.ImVec2(iconsz,iconsz), UI.colorOn, nil, vec3(0.6,0.6))
        --                        im.Unindent(-40)
                                im.tooltip('To favorites')
                            UI.buttonImg({'fav_up',i}, 'star', im.ImVec2(iconsz,iconsz), color, nil, vec3(0.6,0.6))
                            im.Unindent(-4)
                            im.tooltip(color == UI.cbutOff and 'Mark as favorite' or 'Unmark')
@/lua/ge/extensions/editor/api/genericInspector.lua
              end
              imgui.Unindent(fieldIndent)
              imgui.Separator()
          end
          imgui.Unindent(fieldIndent)
          imgui.Separator()
@/lua/ge/extensions/editor/gen/ui.lua
	labelHide()
  im.Unindent(conf.inputMargin)
end
	end
  	im.Unindent(conf.inputMargin)
end
	if not nolabel then
		im.Unindent(conf.inputMargin)
	end
    im.Indent(-30+ds)
    im.Unindent(-30)
  else
	--?? why not -24
    im.Unindent(-30)
  end
	im.Indent(-30)
	im.Unindent(-30)
	-- overlay icon
			im.Indent()
			im.Unindent()
			if dicon and dicon[lbl] then
--  labelHide(nil)
  im.Unindent(conf.inputMargin)
end
		buttonT('Unique', 'gen_unique', im.ImVec4(0.9, 0.9, 0.9, 1), im.ImVec4(0.47, 0.45, 0.45, 1))
		im.Unindent(6)
		buttonT('Instances', 'gen_inst', im.ImVec4(0.9, 0.9, 0.9, 1), im.ImVec4(0.47, 0.45, 0.45, 1))
		buttonT('Instances', 'gen_inst', im.ImVec4(0.9, 0.9, 0.9, 1), im.ImVec4(0.47, 0.45, 0.45, 1))
		im.Unindent(8)
		im.Columns(1)
		im.PopFont()
--    im.Unindent(12)
		im.PushFont3("segoeui_regular")

		im.Unindent(44)
		im.Columns(0)
			im.tooltip(s)
--            im.Unindent(-4)
		end
--		combo('Var.type', 'building_subshape', {'','SUB_SHAPE'})
--		im.Unindent(10)

--!!    im.Unindent(10)
]]
--    im.Unindent(42)
--		im.Columns(0)
--			im.Text('Scope')
			im.Unindent(8)
--            im.SameLine()
--                    im.Indent()
--                    im.Unindent()
					im.BeginGroup()
						im.Indent(-30)
						im.Unindent(-30)
						im.TextColored(colText, t)
		--                editor.uiHighlightedText(t, t, colText)
		--                im.Unindent(30)
					im.EndGroup()
			end
			im.Unindent(6)
--            im.Indent(8)

  --            im.Unindent()
    end

		im.Unindent(8)
				im.Indent(-30)
				im.Unindent(-30)
				if dicon and dicon[lbl] then
				im.Indent(-30)
				im.Unindent(-30)
				if dicon and dicon[lbl] then
--			im.Text('Elements')
			im.Unindent(10)
-- ELEMENTS CONTROLS
--                        im.Unindent(4)
--                        im.Dummy(im.ImVec2(20, 0))
--								print('?? UI_win:')
--							im.Unindent(6)
--							columnRight(60)
						elseif W.ifForest({'pillar'}) then
							im.Unindent(6)
							columnRight(60)
--                            im.Unindent(10)
							slider('Spacing', 'pillar_space', {0.1, 10})
							im.NextColumn()
 --                           im.Unindent(10)
--                            im.Indent(10)
						end
						im.Unindent(conf.inputMargin)
--						buttonC('Clone', 'floor_clone', nil, im.ImVec2(67,47))

		im.Unindent(4)
						else
							im.Unindent(-6)
							im.Text('')
					else
						im.Unindent(-6)
						im.Text('')
			im.Indent(-30)
			im.Unindent(-30)
			im.TextColored(colText, t)
@/lua/ge/extensions/editor/gen/exp_solidflex.lua

                im.Unindent(8)
            im.TextColored(UI.colorNav, 'Hint: ')
            im.Unindent(14)
            im.Dummy(im.ImVec2(0,0))
@/lua/ge/extensions/editor/dragRaceEditor/strips.lua

    im.Unindent()
  end

    im.Unindent()
@/lua/ge/extensions/editor/inspector.lua
              end
              imgui.Unindent(fieldIndent)
              imgui.Separator()
          end
          imgui.Unindent(fieldIndent)
          imgui.Separator()
@/lua/ge/extensions/editor/preferences.lua
      imgui.PopID()
      imgui.Unindent(15)
      imgui.Separator()
@/lua/ge/extensions/editor/dynamicDecals/docs.lua
  end
  im.Unindent()
end
@/lua/ge/extensions/editor/assetBrowser.lua
    end
    im.Unindent(var.iconSize.x + var.style.ItemSpacing.x)
  end
    end
    im.Unindent(editor.getPreference("assetBrowser.general.treeViewIndentationWidth"))
  end
          im.PopStyleColor()
          im.Unindent()
        end
@/lua/ge/extensions/editor/gen/exp_frame.lua
                    end
                    im.Unindent(80)
                    im.Separator()
@/lua/ge/extensions/editor/sceneTree.lua

    if showGroups and node ~= instance.rootNode then imgui.Unindent() end
  end
@/lua/ge/extensions/editor/engineAudioDebug.lua
    end
    im.Unindent()
    im.Separator()
      changed = im.DragFloat("muffling", muffling, 0.01, 0, 1) or changed
      im.Unindent()
      im.Separator()
      changed = im.DragFloat("offLoadGain", offLoadGain, 0.01, 0, 1) or changed
      im.Unindent()
      im.Separator()
      changed = im.DragFloat("highShelfGain", highShelfGain, 1, -30, 30) or changed
      im.Unindent()
      im.Separator()
      changed = im.DragFloat("eqLowWidth", eqLowWidth, 0.01, 0, 1) or changed
      im.Unindent()
      im.Separator()
      changed = im.DragFloat("eqHighWidth", eqHighWidth, 0.01, 0, 1) or changed
      im.Unindent()
      im.Separator()
      changed = im.SliderInt("fundamentalFrequencyCylinderCount", fundamentalFreqCylCount, 0, 32) or changed
      im.Unindent()
      im.Separator()