Imgui: The label is on the left.

Created on 26 May 2016  路  4Comments  路  Source: ocornut/imgui

where to set label on the left as below:
image

layout

Most helpful comment

@Alan-FGR AlignTextToFramePadding() does the job for now.

All 4 comments

Duplicate, this is part of WIP https://github.com/ocornut/imgui/issues/395
But trust me, it is a fake good-idea.

Right now you can work-around it by using Text, SameLine, Widget("##hidelabel", ..);

There's one problem with SameLine: the label won't be centered vertically :(

@Alan-FGR AlignTextToFramePadding() does the job for now.

@rationalcoder i'll give that a try. thank you :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dowit picture dowit  路  3Comments

BlackWatersInc picture BlackWatersInc  路  3Comments

namuda picture namuda  路  3Comments

ocornut picture ocornut  路  3Comments

mnemode2 picture mnemode2  路  3Comments