FLTK logo

Re: [fltk.general] Re: Fl_menu_bar drop down menu window box type

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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: Fl_menu_bar drop down menu window box type Bill Spitzak Sep 23, 2021  
 
The rounded corners should be removed, as support for non-rectangular popup window is apparently broken on many platforms and also a real pain to set up in fltk.

FLTK 2 tried to fix the box problem by having all menu items (including the titles of submenus) have a box type. This was pretty inconsistent however as the box was not around the item itself, but the menu it popped up. This may be less of a problem in FLTK 1 because it does not try to unify widgets and menu items. A global setting could work as well.


On Thu, Sep 23, 2021 at 11:45 AM rs <rspinney20@gmail.com> wrote:
Sorry, it does appear to change with theme, but it comes with a border which contrasts with the interior. But with theme "none" because there is a border it doesn't seem to be an ordinary FL_FLAT_BOX and still I see no way of changing it.

On Friday, September 24, 2021 at 4:43:25 AM UTC+10 rs wrote:

Hi,

Sorry for the repeated questions, I'm sort of cleaning out a few lingering queries.

In an Fl_Menu_Bar it is possible to set the boxtype() for the top level of the bar itself, and down_box() for the highlighted entry, but the actual pop up boxes themselves seem to be of a given fixed type which is also independent of the theme. They also (on X11) don't *quite* reach the corners of their rectangular space footprint leaving bright points in the corners when the menu is dark.

Is there any way to set the box type of the pop up/drop down menus?

Thanks,

R.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/b5653ceb-0016-49e6-b961-98dbf3e59449n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAL-8oAjXwtTCdXgiO7_S2a2y2EVBiz7M0b6FYEV2cRg9sjgQuQ%40mail.gmail.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'.