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

Bug#153153: xbmbrowser: Dialog boxes hide some text labels



Dear QA Team

I have looked into this issue and have come up with the attached patch.

Basically, I think that Jose is right and there may be an issue with
Athena handling widget widths incorrectly. I've been able to reproduce
the issue in Sid today, so the problem is still there.

My patch reads the width for the relevant widget and increses it by one
pixel. This fixes the issue with the cut-off label texts and also
centers the labels which is what I believe is supposed to happen.

I will submit an updated xbmbroswer package to my application manager,
Matthew Palmer, shortly as part of the new maintainer process I'm
currently going through. If he approves, a new package  with this issue
fixed will be available soon.

Best regards
Andree
-- 
Andree Leidenfrost
Sydney - Australia
--- user_functs.c.orig	2005-02-05 22:08:47.000000000 +1100
+++ user_functs.c	2005-02-05 12:35:56.000000000 +1100
@@ -217,8 +217,10 @@
   }
 
   /* initialize the initial value of widget */
+  XtVaGetValues(user_dialog, XtNwidth, (XtArgVal *)&w, NULL);
   XtVaSetValues(user_dialog,
              XtNlabel, (XtArgVal)prompt,   /* set the dialog label */
+             XtNwidth, (XtArgVal) ++w,     /* KLUDGE: avoid cut-off labels */
              XtNvalue, (XtArgVal)value,    /* set the text widget */
              NULL);
 

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: