little-brother / sqlite-gui

Lightweight SQLite editor for Windows
GNU General Public License v2.0
1.07k stars 51 forks source link

Editor font not configurable #123

Closed wdscxsj closed 1 year ago

wdscxsj commented 1 year ago

Thank you for this slick tool, but on my machine (Windows 10 Simplified Chinese Edition) the font configuration only affects the database list, but not the editor. For example, a sans-serif font is used for the editor when "Consolas 10" is specified.

Screenshot183

Update: The font for the editor of Query — Shortcuts dialog is OK. And it properly maintains the keyboard focus after switching away and back, as reported in #124.

Screenshot184

little-brother commented 1 year ago
  1. What is happening with a resultset font? Is it changed?
  2. Please check x32 version. Did this version has the same issue? (x32 version uses a Win7 editor dll).
wdscxsj commented 1 year ago

Thanks for your reply! The resultset font is properly changed. And indeed, the editor font of the 32-bit version works fine.

little-brother commented 1 year ago

Try to put this msftedit.zip (Win7x64-version) into sqlite-gui folder and restart the app. Is the issue gone?

I suspect the issue can be related with an editor control library (msftedit).

wdscxsj commented 1 year ago

Yes, the extra DLL fixes this issue. Thank you very much!

little-brother commented 1 year ago

I didn't reproduce the error on my PC with Win10 and therefore I can fix it. It's definitely a problem. I'll mention it in Wiki later.

Thanks for report!