News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
How to resize main window
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: How to resize main window

I tried it with a box or a child window covering the whole main window, using that as the resizable widget, and both seem to have slightly better results. Now the buttons stretch uniformly.

The best results I've gotten so far were from placing a 0x0 box in the bottom corner:
resize=fltk:Fl_Box(505,145,0,0)
window:resizable(resize)
This is still not ideal, as the windows contents don't do _any_ scaling.
I guess the resizable widget you choose would mostly have to depend on what kind of contents your window has.

There are also the Fl_Scroll and Fl_Pack widgets that could be utilized, if resizing down makes the buttons squash and overlap. I haven't figured out those particular widgets myself, though.

07-25-2007 01:07 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
How to resize main window - Don Dailey - 07-24-2007, 09:00 AM
RE: How to resize main window - mikshaw - 07-24-2007, 09:53 AM
RE: How to resize main window - Don Dailey - 07-24-2007, 11:46 AM
RE: How to resize main window - mikshaw - 07-24-2007, 01:40 PM
RE: How to resize main window - JohnMurga - 07-24-2007, 05:06 PM
RE: How to resize main window - mikshaw - 07-25-2007 01:07 AM
RE: How to resize main window - JohnMurga - 07-25-2007, 01:24 AM
RE: How to resize main window - Don Dailey - 07-25-2007, 02:22 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: