potocpav / python-concur

Concur UI Framework for Python
MIT License
48 stars 2 forks source link

Implement the "dummy" element #23

Closed potocpav closed 4 years ago

potocpav commented 4 years ago

Here's the PyImGui function: https://pyimgui.readthedocs.io/en/latest/reference/imgui.core.html#imgui.core.dummy

Implementation:

def dummy(width, height):
    """ Add a dummy element of a given `width` and `height`.

    Useful for custom-sized vertical or horizontal spacings.
    """
    return lift(imgui.dummy, width, height)
potocpav commented 4 years ago

Fixed in master.