FLTK logo

Re: Coding error or bug in Fl_Group::resizable() ?

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

Re: Coding error or bug in Fl_Group::resizable() ? Albrecht Schlosser Oct 28, 2011  
 
On 28.10.2011 02:31, Jim Jozwiak wrote:
> On 10/27/2011 05:21 PM, Albrecht Schlosser wrote:
>> Well, I don't dream and tell you something here. All this is done in
>> a similar way in one of my FLTK applications. Font sizes are adjusted
>> dynamically according to the window's size, and the user can resize
>> the window by dragging the window borders as usual, enlarging the
>> fonts as needed...
>
> Yes sir, this is what I want to do. Where do you keep this application
> you wrote? I want to plagiarize it.

Sorry, this is not open source; but if you need help with your code,
feel free to ask here, and I'll try to help.

> Actually, every gui should work this way...

Well, yes, maybe... It was a good design for our app, and it works
well. This is okay for me, but there may be other applications where
resizing the window should not automatically change the font size.

One example is when you have lots of text, e.g. an editor, and the
user wants to see more text on the screen. In this layout, only the
text portion would be resized and the other widgets like buttons
should stay the same. There should be different resizing mechanisms
for normal widgets like buttons, labels, etc. and font sizes inside
text widgets (editors). I'd say it depends, and we do also have such
a text display widget where you can adjust the font size with buttons.
This is becoming more and more state of the art, e.g. in browsers like
firefox with ctrl/+ and ctrl/-.

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