On 13 Apr 2012, at 15:33, Domingo Alvarez Duarte wrote:

> This topic made me remember that I did solved this problem and offered it  
> to be included on FLTK but at that moment it was not well understood maybe  
> now it can be helpfull again.
> 
> http://www.fltk.org/newsgroups.php?s1+gfltk.development+v5+T0+Qst_widget_sizes


Indeed - this may well be true, but zooming and scaling is a bigger issue.

What is *really* at issue here, for the immediate resolution of the OP's 
problem, is that the CodeEditor widget built in to fluid completely ignores any 
attempt to set its textsize.

That just looks like a plain ol' bug to me...

Anyway, I have posted (r9341) a partial fix for this that should workaround the 
OP's problem, such that if he sets a larger fontsize for the editor pane in 
widget_panel.fl, then rebuilds fluid, there's now a Very Real Chance (i.e. it 
worked for me) that the editor pane will actually display the text in the 
requested size!

That said, it will still ignore any attempt to set the face, and changing the 
fontsize once the editor is loaded may have "interesting" side effects - though 
there is no way to do that in fluid at present anyway so there's no immediate 
problem there as such.



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

Reply via email to