IGFD: align text to frame padding
This commit is contained in:
parent
cfaa220243
commit
6dd682b9fc
|
@ -3880,6 +3880,7 @@ namespace IGFD
|
||||||
|
|
||||||
float posY = ImGui::GetCursorPos().y; // height of last bar calc
|
float posY = ImGui::GetCursorPos().y; // height of last bar calc
|
||||||
|
|
||||||
|
ImGui::AlignTextToFramePadding();
|
||||||
if (!fdFile.puDLGDirectoryMode)
|
if (!fdFile.puDLGDirectoryMode)
|
||||||
ImGui::Text(fileNameString);
|
ImGui::Text(fileNameString);
|
||||||
else // directory chooser
|
else // directory chooser
|
||||||
|
|
Loading…
Reference in New Issue