-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32: fix expander rendering for horizontal GtkToolItemGroups
Expanders are usually drawn as little triangles and unfortunately do not support rotated drawing modes. So a hack is applied (see gtk_tool_item_group_header_expose_event_cb for details) when drawing a GtkToolItemGroup's header for horizontal GtkToolShells, forcing the triangle to point in the right direction. Except we don't draw expanders as triangles on Windows. Usually, expanders are represented as "+" and "-". It sucks for "+" to become "-" and the inverse when we don't want to, so reverse the hack here.
- Loading branch information
Showing
1 changed file
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters