FLTK logo

Re: [fltk/fltk] FL_Browser_ : horizontal scrollbar to top: undocumented feature or bug? (#237)

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

Re: [fltk/fltk] FL_Browser_ : horizontal scrollbar to top: undocumented feature or bug? (#237) Albrecht Schlosser Jun 06, 2021  
 

In an Fl_Browser, the horizontal scrollbar can be moved to the top of the widget. The puzzler is this feature is driven by the align() value of scrollbar, not hscrollbar!

Thanks for the report. I didn't have the time to look deeper into it, but what you wrote rang a bell somewhere in my memory...

There's a documented precedent in class Fl_Scroll:
"If the FL_ALIGN_LEFT bit is on, the vertical scrollbar is on the left. If the FL_ALIGN_TOP bit is on, the horizontal scrollbar is on the top. Note that only the alignment flags in scrollbar are considered. The flags in hscrollbar however are ignored."

This looks like it's intentional, but if it's not documented it should probably be done (i.e. documented) like in Fl_Scroll. This is not meant as any kind of final decision. I just wanted to mention the facts.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

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'.