FLTK logo

Re: [fltk/fltk] Fluid: enhancement for widget_class for extra option: reposition-and-rescale (PR #481)

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] Fluid: enhancement for widget_class for extra option: reposition-and-rescale (PR #481) Albrecht Schlosser Aug 13, 2022  
 

Thanks for this PR. Note that I'm not the developer of fluid and I'm not particularly familiar with the code you want to change.

  1. That said, I would prefer not to have to #include <math.h> in favor of doing integer math, if possible. Do you think this could be possible? Note that Fl_Group::resize() works w/o the need of math.h.

  2. I don't fully understand what you describe in your post and what exactly you want to achieve. Could you please provide a simple but complete example consisting of only a .fl file that can be compiled and built to a full executable, i.e. it should include a main() function. Please do also describe what we need to do to see the effect you like to achieve and how it works w/o your patch - or in this case, which widget attribute should be changed from Relative & Rescale to Relative to see how it does NOT work as you intend.

This would be helpful to understand the issue, what you want to achieve, and to test your PR. Thanks in advance.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/pull/481/c1214151130@github.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'.