bluescan / tacentview

An image and texture viewer for tga, png, apng, exr, dds, pvr, ktx, ktx2, astc, pkm, qoi, gif, hdr, jpg, tif, ico, webp, and bmp files. Uses Dear ImGui, OpenGL, and Tacent. Useful for game devs as it displays information like the presence of an alpha channel and querying specific pixels for their colour.
ISC License
329 stars 32 forks source link

Overwrite-file dialog layout. #138

Closed bluescan closed 9 months ago

bluescan commented 9 months ago

Fix overwrite file dialog OK position. With longer filenames the button does not go over to the right properly.

bluescan commented 9 months ago

658f87569770e3f602e84ef2e10a18204b7ddcd9 fixes this dialog and the overwrite-multiple-files dialog. Uses the gui-util function CropStringToWidth function to limit path and file names. Adds an ellipsis if necessary.