[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XForms] First character Underline box label problem in Solaris x86

From: Christiano SA
Subject: [XForms] First character Underline box label problem in Solaris x86
Date: Tue, 8 Nov 2016 03:45:06 +0100

In documentation
It says:
It is also possible to underline the label or one of the characters in the label. This is accomplished by embedding <CNTRL> H (\010 or '\b') after the letter that needs to be underlined. If the very first character of the label is <Ctrl>H, the entire label is underlined.
Then I did a test-program:
#include <forms.h>
int main(int argc, char *argv[]) {
    FL_FORM *form;

    fl_initialize(&argc, argv, "FormDemo", 0, 0);
    form = fl_bgn_form(FL_UP_BOX, 320, 240);
    fl_add_box(FL_SHADOW_BOX, 10, 10, 300, 50, "\bTesting program");
    fl_show_form(form, FL_PLACE_MOUSE, FL_TRANSIENT, "Question");
    return 0;
The program running:
At left the program running at Linux (raspbian armv7).
At Right running at Solaris x86. (See the big underline there)
So I thought it would be important to report this difference in behavior.
Additional information:
1- Using underline with 1 character works normally in the 2 systems
2- Changing FL_SHADOW_BOX to FL_UP_BOX works normally in the 2 systems
xforms 1.2.4 compiled with source manually (./configure && make && make install)
operating system Solaris x86 11.3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]