c - Label Title cut when changing text font (Open Motif 2.3.1) -


i trying solve problem on software. have 2 windows created motif library. first window contains 5 buttons (font 1, 2, 3, 4, exit), choosing font affects text of other window ("unacknowledged updates"). when second window text in font 1, , click on font 4 or font 3 button, result consists in displaying text label cut on second window.

i have written prototype reproduce bug using same way of coding , initializing widgets. however, can not reproduce bug yet. thing is, way of how callbacks managed in prototype far more simple in original code uses xevent sent x server.

you can find 2 screenshots displaying problem following link: ---screenshots---

you find prototype code following link : ---here---

the line compile : gcc mmm_window.c -lx11 -lxm -lxt -o mmm_window

solved forcing redraw of 3 xmform.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -