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

ILoveImgui picture ILoveImgui  路  3Comments

bogdaNNNN1 picture bogdaNNNN1  路  3Comments

noche-x picture noche-x  路  3Comments

GrammarLord picture GrammarLord  路  3Comments

the-lay picture the-lay  路  3Comments