Hi,
I'm updating label content (label text) depending on what button was pressed and some other data.
On each update, the updated (new) text overlaps the old text (or 'superposition' of previous texts) - I get superposition of both texts on the screen.
I would expect that the old text should be erased, and only the new one should be visible on screen.
I've checked both: D4D_SetText and D4D_LabelSetText.
There is no such problem with the Button widget...
I don't think this is the expected behaviour - or maybe I don't understand the widget behaviour ?
Regards
Maciek
已解决! 转到解答。
 LuisCasado
		
			LuisCasado
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
Change in d4d_user_cfg.h
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_YES_MASK )
By:
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_NO_MASK )
Best Regards,
Luis
 LuisCasado
		
			LuisCasado
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
Change in d4d_user_cfg.h
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_YES_MASK )
By:
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_NO_MASK )
Best Regards,
Luis
