Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text labels for Toolbar, Enhancement #553

Open
jabcreations opened this Issue Feb 26, 2019 · 8 comments

Comments

Projects
None yet
2 participants
@jabcreations
Copy link

jabcreations commented Feb 26, 2019

Current behavior

The toolbars do not have text labels (at all / on the right).

Expected behavior

The toolbars should have the ability to have text labels, at least on the right (馃柅 Save). Lame, GitHub doesn't support Unicode? This would enhance usability; I have a 32" 4K screen and the buttons are super-rinky-dinky; I can and would happily afford to have every button have text to the right of each icon.

Possible solution

Have an option for a text label to the right and below the icons (below is better for larger non-widescreen aspect ratios).

I'd tag this as an enhancement though I'm not seeing any GUI for that here.

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Feb 27, 2019

Just tried that, setting Toolbar.ShowCaptions := True, plus setting Button.AutoSize := True for each button. This shows the captions by default below the icon, and uses as much space as the caption needs:

grafik

We would need an approach to have shorter captions, without making them unclear in the menu which shows the same captions.

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Feb 27, 2019

Adding Button.Style := tbsTextButton moves their captions to the right side, and takes even more horizontal space. Please ignore the tlbSep1 buttons - they should just be vertical lines. Both screens have 1920px width:

grafik

Also, this breaks buttons with a dropdown menu, like the refresh button.

@jabcreations

This comment has been minimized.

Copy link
Author

jabcreations commented Mar 1, 2019

Where are these settings...set? A file in the installation path, AppData or the registry in example?

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Mar 2, 2019

This is hardcoded - you cannot customize that. I was thinking both screens are too bad looking, so it makes no sense to let the user chose that. We need a better approach here.

@jabcreations

This comment has been minimized.

Copy link
Author

jabcreations commented Mar 2, 2019

Why not simply add an external file with the menu settings and fallback to internal settings if it's format is malformed or missing? I'd rather have an imperfect option than not. Plus if there is a build (I can't compile right now) I could test I'd be more than happy to go through and work on the menu's text labels and titles myself.

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Mar 2, 2019

I can add a registry hack for this, until it's good enough to be presented to all users.

@jabcreations

This comment has been minimized.

Copy link
Author

jabcreations commented Mar 2, 2019

WOOT! That would be amazing! I use HeidiSQL everyday I work on code and this would greatly ease the usability. I'll provide two arrays (labels and titles (presuming that the code terminology matches HTML)). Please let me know what I can help out with if anything else, when/where that build will be available for download and obviously the registry hack would be useful too please! Thank you!

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Mar 2, 2019

Ok, just did that. Just update to the next nightly build and add a new registry value:

  1. start regedit.exe
  2. navigate to HKEY_CURRENT_USER\Software\HeidiSQL
  3. rightclick, then click "New", then click "Dword (32bit)" value
  4. name it ToolbarShowCaptions
  5. set its value to 1 (decimal)
  6. (re)start heidisql.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.