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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmetic: Session Manager button layout out of alignment on classic themes #435

Closed
sombraguerrero opened this Issue Dec 10, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@sombraguerrero
Copy link

sombraguerrero commented Dec 10, 2018

Steps to reproduce this issue

Pre-condition: Windows is set to a non-Aero, classic theme.

Current behavior

The session manager buttons are either overlayed or underlayed with the tabs and panels above them.

Expected behavior

The buttons should be clear of other UI elements within the session manager.

Environment

  • HeidiSQL version:
    9.5.0.5382 (and several revisions prior)

  • Operating system:
    Windows 7 32-bit or 64-bit and above with either Aero disabled or non-Aero classic themes being used.
    non_aero_buttons

@ansgarbecker ansgarbecker added the themes label Dec 11, 2018

@ansgarbecker ansgarbecker added this to the v10 milestone Dec 13, 2018

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Dec 15, 2018

The user manager has the same problem:

grafik

While all other dialogs don't seem to have it: the SQL export dialog, CSV import, SQL help, settings, program update, grid export.

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Dec 16, 2018

This issue occurred after I upgraded the compiler from XE5 to Delphi 10.2. Also, it depends on Aero being disabled. The buttons are at the right place if Aero is enabled, but not so when disabled.

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Dec 16, 2018

Think I got it now - took me some hours.

Apparently, bad values of the minimum width and height moved those buttons in the bottom right corner of a dialog. To be more precise, MyForm.Constraints.MinHeight had the same value as MyForm.Height (same for width). Now, I decreased those Min* values by about 50 pixels, which made the buttons suddenly stay where they should be, also with disabled Aero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment