FLTK logo

Re: [fltk.coredev] Re: macOS menus have white corners on dark background under gtk+ scheme

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: macOS menus have white corners on dark background under gtk+ scheme Gonzalo Garramuño Apr 26, 2022  
 

El 26/4/22 a las 07:49, 'melcher....@googlemail.com' via fltk.coredev escribió:
Yes, that is a known bug. Rounded boxes rely on the parent widget to draw the background which is not the case for a popup menu. I'll try to look at the fixes, time permitting.

The problem shows up on normal menus, too, not just popups.  The fix I made is drawing 4 lines in a rectangle with a FL_BLACK mixed with the color of the menu to cover the 2 pixel corners.  It seems to work fine, but feel free to improve the fixes if you wish.

--
Gonzalo Garramuño
ggarra13@gmail.com

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/0dbba520-f425-56b4-523c-15a4539133e5%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.