How to set font size in title bar of Fl_Double_Window?

19 views
Skip to first unread message

david allen

unread,
Nov 25, 2020, 4:15:53 PM11/25/20
to fltk.general
labelsize does not seem to work.

I use fltk 1.4 and linux mint.

Ian MacArthur

unread,
Nov 25, 2020, 4:51:15 PM11/25/20
to fltkg...@googlegroups.com
On 25 Nov 2020, at 21:15, david allen wrote:
>
> labelsize does not seem to work.
>
> I use fltk 1.4 and linux mint.


The window decorations generally “belong” to the Window Manager, not to the application, so are often not amenable to being changed by the usual fltk methods - it can depend, for example, on whether your Window Manager will allow the attributes to be changed (many will not, they enforce whatever styles are defined for the system and ignore any style changes you try to make, often...)

So... you might not be able to change that from fltk at all. In some cases (depends on host system, WM, etc.) you *might* be able to ask the WM to change the style, but that is likely getting into platform specific code, so not necessarily an attractive option...


david allen

unread,
Nov 25, 2020, 8:07:04 PM11/25/20
to fltk.general
Thanks!

david allen

unread,
Nov 25, 2020, 8:25:59 PM11/25/20
to fltk.general
The cinnamon desktop has a dialogue box for setting title bar size and style. This perfectly OK so long as I run my programs on my own computer.
Reply all
Reply to author
Forward
0 new messages