> I want to have one screen using Fl_Tile and want after setting it's 
> sizes to maintain the proportion when the window is resized, but 
> actually the bottom group is always resized to fill the parent window 
> instead of all tiles grow proportionally.
> 
> Thanks in advance for any help !

Please post test code that is actually compileable: did you test this
before you posted?

$ fltk1-3-config --compile sqlitecc.cxx 
g++ -I/d/IanMacarthur/svn/fltk-1.3 -mwindows -DWIN32 -DUSE_OPENGL32
-mno-cygwin -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o 'sqlitecc'
'sqlitecc.cxx' -mwindows -L/usr/local/lib -mno-cygwin
/d/IanMacarthur/svn/fltk-1.3/lib/libfltk.a -lole32 -luuid -lcomctl32
sqlitecc.cxx: In function `int main(int, char**)':
sqlitecc.cxx:95: error: no matching function for call to
`DAD_SqliteCC::DAD_SqliteCC()'
sqlitecc.h:25: note: candidates are: DAD_SqliteCC::DAD_SqliteCC(const
DAD_SqliteCC&)
sqlitecc.cxx:55: note:                 DAD_SqliteCC::DAD_SqliteCC(int,
int, const char*)
sqlitecc.cxx:50: note:                 DAD_SqliteCC::DAD_SqliteCC(int,
int, int, int, const char*)



Anyway, that apart; are you sure an Fl_Tile is the container widget you
want? Perhaps you want an Fl_Pack? Or perhaps even just another
enclosing group?

Certainly, the aspect ratio would be retained if you simply used an
enclosing Fl_Group.

Since Fl_Tile is intended to allow independent resizing within the
container, it does not try to enforce the proportional sizes, so you may
need to subclass and code to get the effect you want - or use a
different container, if you do not need the specific features of
Fl_Tile.





SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to