GTK2 Invalidate Rect fails for Notebook tabs
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
Notebook tabs (positioned on top have a negative y coordinate.
Returned by Notebook.TabRect(aTabIndex);
This tab rect can not be adjusted by the application code, since it is correct for Bottom or Right positioned tabs.
(The negative rect is probably correct => it applies to w32 widget too)
However sending this rect to InvalidateRect does not work.
TGtkwidget.InvalidateRect doesn't re-adjust the rect by PaintWidget^.Allocation.X / Y
While
TGTKWSCustomNotebook.GetTabRect does adjust the rect.