>
> On 13 Apr 2012, at 03:08, Greg Ercolano wrote:
>
> >=20
> >     Otherwise, if you want to change the fonts of the fluid
> >     'properties' panel, you can load the widget_panel.fl
> >     into fluid and tweak it.
> >=20
> >     It's easy to select all the widgets in the panel (^A),
> >     open the properties panel (F1), go into the Style tab,
> >     and change the "Label Font:" prompt value from e.g. 14 -> 16.
> >=20
> >     To change the font size of the input field text, you'd
> >     probably have to select them all separately (Shift-Click)
> >     and then tweak the "Text Font:" value.
> >=20
> >     The hard part is then jostling around all the widgets to make
> >     them fit with the larger font. That would take a bit of time.
> >     (I know, I just tried)
> >=20
> >     Then hit File->Save, and File -> Write Code, and rebuild fluid.
> >=20
>
> Though, as I said in : =
> http://www.fltk.org/newsgroups.php?gfltk.general+v:34661 I am not sure =
> this will work for the editor pane in the widget panel, as it sets up =
> it's own internal fonts in the syntax highlighting section. Which may or =
> may not be over-written by what is set in the fluid file that wraps =
> it...
>


OK - I just went and tried this out; the upshot is pretty much what I though, 
that just using fluid to alter the fontsize of the code editor widget does not 
work (though oddly it does seem to affect the line spacing in the editor pane, 
it does not change the size of the face.)

Instead if I changed the fontsize in fluid AND edited the styletable[] = {...} 
array in CodeEditor.cxx to force the new font size "by hand" then it all worked 
and I got the bigger characters...

That may be a quick and dirty option for the OP - though not the most elegant 
solution!

I guess the editor widget code in CodeEditor.cxx should probably be adjusted to 
honour the font sizes set in the .fl file that created it... somehow...








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

Reply via email to