File: 10-remove-alignment-option.patch

package info (click to toggle)
xsol 0.31-11
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 408 kB
  • ctags: 392
  • sloc: ansic: 4,691; makefile: 18
file content (18 lines) | stat: -rw-r--r-- 841 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Remove XmNchildVerticalAlignment option to avoid the text "Settings"
             overlaps the text "Timed Game". Furthermore, this option was generating
             the warning: "XmFrameConfigureChildren doesn't implementXmALIGNMENT_BASELINE_BOTTOM yet".
             With this patch, this warning is not shown any more.
Author: Mònica Ramírez Arceda <monica@probeta.net>
Last-Update: 2011-10-08

--- a/xsol.c
+++ b/xsol.c
@@ -296,7 +296,7 @@
    title = XtVaCreateManagedWidget("Settings", xmLabelWidgetClass, frame, 
              XmNchildType, XmFRAME_TITLE_CHILD,
              XmNchildHorizontalAlignment, XmALIGNMENT_BEGINNING,
-             XmNchildVerticalAlignment, XmALIGNMENT_BASELINE_BOTTOM, NULL);   
+             NULL);
 
    rowcol = XtVaCreateManagedWidget("rowcol", xmRowColumnWidgetClass, frame, NULL);