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
378 stars 36 forks source link

Overwrite-file dialog layout. #138

Closed bluescan closed 1 year ago

bluescan commented 1 year ago

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

bluescan commented 1 year 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.