On some of the settings, the results are slightly different. For example, look at the separator in the custom layout versus a default layout. The custom separator has more pixels. Why does this happen?
Custom versus default layout: What is the reason for pixel differences?
Custom versus default layout: What is the reason for pixel differences?
I figured it out: only tab border and group separator are involved in those stylings, all the other border and shadow stylings cause aesthetic conflict. The layout customization settings of UE are nice, but the options seem excessive and disorganized at times. Oh well, at least I've got it looking good now.
The ribbon structure is really interesting. It is defined by Microsoft's GDI+ library (from %SystemRoot%\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23894_none_145eb2808b8d6928\GdiPlus.dll being of version 6.1.7601.23894 in my case) and not by UltraEdit or IDM Computer Solutions, Inc. It is as follows from most outer respectively bottom on z-axis to most inner respectively top on z-axis on using Windows Classic desktop theme on Windows 7:
In general the size and position of graphic elements on Windows depend on used font and configured font size. Microsoft introduced the measurement unit DLU – dialog unit. After calculation of a width, height, x or y position in DLU (floating point), the result is converted to a pixel value (integer) which quite often results in a failure by one pixel. Extra code is needed to correct this one pixel failure caused by different rounding from DLU to pixel. It looks like Microsoft has not added extra code to avoid the one pixel failure in GDIPlus.dll version 6.1.7601.23894.
What does the different result by one pixel cause in your case is hard to determine from the screen shots posted by you.
Please note that there are also multiple looks defined in GDIPlus.dll, see Icons are blurred in Classic mode with 64-bit UltraEdit version 24 on Windows 10 for a list of available looks. A look define more than just different colors for the various elements. For example ID_VIEW_APPLOOK_WIN_2000 looks really different to ID_VIEW_APPLOOK_OFF_2007_BLACK.
- Tab background – there is one pixel row of tab background below bottom tab border.
- Tab border
- Category background
- Group background – there is one pixel row of group background below bottom group border and one pixel column right to right group border.
- Group border – just on left and top side
- Group shadow – just on right and bottom side with being covered mainly at bottom side by group caption background gradient
- Group caption background gradient – first color bottom, second color top
- Group separator – only on right side
In general the size and position of graphic elements on Windows depend on used font and configured font size. Microsoft introduced the measurement unit DLU – dialog unit. After calculation of a width, height, x or y position in DLU (floating point), the result is converted to a pixel value (integer) which quite often results in a failure by one pixel. Extra code is needed to correct this one pixel failure caused by different rounding from DLU to pixel. It looks like Microsoft has not added extra code to avoid the one pixel failure in GDIPlus.dll version 6.1.7601.23894.
What does the different result by one pixel cause in your case is hard to determine from the screen shots posted by you.
Please note that there are also multiple looks defined in GDIPlus.dll, see Icons are blurred in Classic mode with 64-bit UltraEdit version 24 on Windows 10 for a list of available looks. A look define more than just different colors for the various elements. For example ID_VIEW_APPLOOK_WIN_2000 looks really different to ID_VIEW_APPLOOK_OFF_2007_BLACK.
- Ribbon structure as defined by Microsoft and used in UltraEdit on Windows 7 with Windows Classic desktop theme.
Best regards from an UC/UE/UES for Windows user from Austria
Thanks for the detailed info. That's fascinating! Is there a particular reason why UE based their layout customization options on the GDI+ library? Especially if GDI+ has such imperfections, wouldn't UE be better off building their layout customization options through some other means?
You would have to ask your questions IDM by email. I do not know the reasons leading to the decision using Microsoft's GDI+ library also used by Windows itself since Windows Vista (Windows Explorer) and by Microsoft Office since Office 2007 and many other native Windows applications with a ribbon user interface.
Best regards from an UC/UE/UES for Windows user from Austria