FLTK logo

[fltk/fltk] Row / Column based layout development (#144)

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 ]

[fltk/fltk] Row / Column based layout development (#144) osen Sep 26, 2020  
 

Hi there,

I notice that Fltk doesn't really focus on using rows and columns to lay out interfaces. And yet this functionality would be very simple to implement as a Fl_Row, Fl_Col classes extending Fl_Group. I have put together an initial prototype (some minor testing on Win32, OpenBSD and with some of the different "themes").

fltk_rowcol.zip

Normally I would simply stick to the "native" way suggested by the toolkit (in this case FLUID, etc). However one big benefit to the row / column approach is that it seems to be the lowest common denominator of most toolkits (when it comes to a resizing strategy) giving us a good way of porting to and from the different UI systems with minimal change of design.

Let me know what you think. If you like the idea but don't have any time for maintenance or further integration of it, I am happy to invest some time on it since I will be using Fltk for a few internal projects for the next few months at the very least.


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