# Suggestion: Automatically change button size

**URL:** https://community.mp3tag.de/t/suggestion-automatically-change-button-size/6239
**Category:** General Discussion
**Created:** [February 11, 2008, 9:23pm UTC](https://community.mp3tag.de/t/suggestion-automatically-change-button-size/6239 "2008-02-11T21:23:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nickless](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nickless/32/36_2.png) [@nickless](https://community.mp3tag.de/u/nickless)
#### Post date: [February 11, 2008, 9:23pm UTC](https://community.mp3tag.de/t/suggestion-automatically-change-button-size/6239/1 "2008-02-11T21:23:59Z")

</div>

Hello Florian,

I suggest to resize (at least) buttons automatically, if the content does not fit into the default size. This would prevent ugly defects with different translations like the one I was [pointed recently](http://ipicture.ru/uploads/080211/256b0V32oS.png).

The problem is, that in some short english/german words can not be translated into a short word in all other languages, e.g. "Preview" is ""Предварительный просмотр" in russian, which does not fit into button even abbreviated to ""Пред. просмотр". I think this situation happen with a couple of other languages too.

I am not familiar with MFC (I guess this is what you use), but e.g. [Qt4](http://trolltech.com/products/qt) implements this behavior by default.  
I've made a small mockup of a "Tag - Filename" dialog with 2 translations to show you what I mean (see attachments). You should be even able to compile and run it if you have \>=Qt4.2 installed.

Regards  
nickless

 ![](https://community.mp3tag.de/uploads/default/original/2X/9/92697a27ff50bd8a3ca0aac0ada936b3681d1f2a.png)  

[mp3tag\_dialog\_mockup.zip](https://community.mp3tag.de/uploads/default/original/2X/4/4d1a0df821bc8328b625f4575c20a0e974d14362.zip) (4.01 KB)
