xforms-development
[Top][All Lists]
Advanced

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

[XForms] Font Sizing Problem, Overlapping label text in form


From: Ron Leck
Subject: [XForms] Font Sizing Problem, Overlapping label text in form
Date: Fri, 18 Dec 2009 15:40:46 -0600

I have an application that uses xforms  1.0.91 to create a simple form
for displaying status info and allow some editing from a profile text
file.
Here is how I start my form:

    fl_set_icm_color(FL_DARKCYAN, 214, 239, 255);   /* lightblue1  */
    fl_set_icm_color(FL_WHEAT, 255, 255, 224);      /* lightyellow */
    fl_set_icm_color(FL_CHARTREUSE, 214, 238, 214); /* lightgreen  */

    fl_initialize(&argc, argv, 0, 0, 0);
    fd_edit2 = create_form_edit2();
    fl_set_form_geometry(fd_edit2->edit2, 530,4,698,400);

My application has been developed and run under Red Hat and Redhat
Enterprise Linux Version 5 , kernel 2.6.18 and it works perfectly.
When I compiled on an Ubuntu 8.04.2, kernel 2.6.24 machine, the font is
larger and overlaps the forms frame. 
                
I added:
  
   fl_adjust_form_size(fd_edit2->edit2);

to fix problem on Ubuntu computer but it didn't work.

Do you know of a solution? 
Do I need a newer version of Xforms?
Is there a problem with Ubuntu graphics drivers?

Gratefully,

Ron







reply via email to

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