Hi,
Does the FRAMEWIN widget have 1 pixel external border by default ?
I set the border size of FRAMEWIN to 0 using SkinFlexProps setting, yet it seems there is still 1 pixel border reserved
You can see the black external border from the following screenshot
Display All
And I also jumped over the message WIDGET_ITEM_DRAW_FRAME.
Does the FRAMEWIN widget have 1 pixel external border by default ?
I set the border size of FRAMEWIN to 0 using SkinFlexProps setting, yet it seems there is still 1 pixel border reserved
You can see the black external border from the following screenshot
Source Code
- FRAMEWIN_SKINFLEX_PROPS pPropsActive;
- FRAMEWIN_SKINFLEX_PROPS pPropsInActive;
- FRAMEWIN_GetSkinFlexProps(&pPropsActive, FRAMEWIN_SKINFLEX_PI_ACTIVE)
- pPropsActive.Radius = 0
- pPropsActive.BorderSizeT = 0;
- pPropsActive.BorderSizeB = 0;
- pPropsActive.BorderSizeL = 0;
- pPropsActive.BorderSizeR = 0;
- pPropsActive.aColorTitle[0] = 0xF7F2F0;
- pPropsActive.aColorTitle[1] = 0xF7F2F0;
- pPropsActive.SpaceX = 0;
- FRAMEWIN_SetSkinFlexProps(&pPropsActive, FRAMEWIN_SKINFLEX_PI_ACTIVE);
- FRAMEWIN_SetSkinFlexProps(&pPropsActive, FRAMEWIN_SKINFLEX_PI_INACTIVE);
And I also jumped over the message WIDGET_ITEM_DRAW_FRAME.