You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use a floating & resizable toolbar and/or dockpanel on Win 10 (resizable = false is OK!!) the NC caption get's ugly with a WHITE bar at the top of the Toolwindow.
Currently I am working to fix it, but looks ugly while on
All Themes: Border.Y := GetSystemMetrics(YMetrics[Resizable]) is not used to a common function
also the NC caption drawing requires adapation
while the ugly part on Win 10 and new Windows-Themes, the border width is now 1 pixel and may also Windows- Themes dependent.
The text was updated successfully, but these errors were encountered:
if not(csDesigning in ComponentState) then begin
// gets ugly white top NC frame
// Style := WS_POPUP or WS_BORDER or ThickFrames[FDockableWindow.FResizable];
// hpw1398
Style := WS_POPUP or WS_BORDER;
end
Yes, it looks like there is no better way to do this. But let's remove WS_THICKFRAME for Windows 10 only. Which is the best method to detect we are on Windows 10?
As it goes for an 13 th...
If you use a floating & resizable toolbar and/or dockpanel on Win 10 (resizable = false is OK!!) the NC caption get's ugly with a WHITE bar at the top of the Toolwindow.
Currently I am working to fix it, but looks ugly while on
All Themes: Border.Y := GetSystemMetrics(YMetrics[Resizable]) is not used to a common function
also the NC caption drawing requires adapation
while the ugly part on Win 10 and new Windows-Themes, the border width is now 1 pixel and may also Windows- Themes dependent.
The text was updated successfully, but these errors were encountered: