Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Auto calculation of optimal column width

kalvaro's profile image kalvaro posted 11 years ago in Feature discussion Permalink
I just love the "Auto calculation of optimal column width" feature implemented in
r1776. If it proves to work fine (I haven't found any issue yet) it could be added to all grids: Database properties, host variables, process list...

Data grids are one of those common features all programs implement awfully. I'm glad HeidiSQL has fixed it. Congratulations!

BTW, in my computer I see lots of padding everywhere. From the SVN logs I realize it'll need some complicate fine tune to suit all OS and font sizes...


P.S. The web server is sending an incorrect charset in the Content-Type header. Have you changed your hosting service recently?
rosenfield's profile image rosenfield posted 11 years ago Permalink
Grid: Yay, it's the greatest thing since sliced bread :-)

--

Server: Apache and PHP has been upgraded.

Seems PHP sends the content-type HTTP header (corresponding to the actual encoding it sends characters in, I presume), and then there is also a HTTP header equivalent inside the HTML.

I'll take a look at it - thanks.
ansgar's profile image ansgar posted 11 years ago Permalink

BTW, in my computer I see lots of padding everywhere. From the SVN logs I realize it'll need some complicate fine tune to suit all OS and font sizes...



Padding in the cells? Yes, that's mostly noticable in Vista where a one line edit box (TEdit) has a larger height than in XP. The additional paddings ensure that the items are editable.
Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
rosenfield's profile image rosenfield posted 11 years ago Permalink
Server: Seems PHP is quite broken with regards to character sets.

From the phpBB FAQ:
"... Unfortunately PHP (which effectively supports only iso-8859-1 at this time) ..."

There's a good guide explaining how to fix PHP here though:
http://www.nicknettleton.com/zine/php/php-utf-8-cheatsheet
kalvaro's profile image kalvaro posted 11 years ago Permalink
I haven't actually tried in Vista; the computer I'm working at right now runs XP with default DPI settings. Character fields seem to have an horizontal padding 6px larger than in Heidi 3.2:



Vertical padding, though, is almost the same.

It's not a great issue, anyway.

----

About forum charset, it seems that when you set language to Spanish it reports UTF-8 but the translation actually uses ISO-8859-1. I'll just switch back to English.

Please login to leave a reply, or register at first.