Skinning -Enlarging the checkbox

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Skinning -Enlarging the checkbox

    When I use the emWinGUIBuilder V5.22 and place a checkbox on my window as I enlarge the checkbox the actual square checkbox becomes larger but when it is displayed it is very tiny on my display. I realize that resizing the checkbox in the emWinGUIBuilder has no effect on the size of the checkbox that will be rendered so this is apparently a bug or unfinished feature in that tool.

    So, I tried to use the checkbox flex to enlarge it by doing this in the user code section of the WM_INIT_DIALOG:

    RADIO_SKINFLEX_PROPS props;
    RADIO_GetSkinFlexProps(&props, 0);
    props.ButtonSize = 60;
    RADIO_SetSkinFlexProps(&props, 0);

    When I use RADIO_GetSkinFlexProps the value props.ButtonSize returned is 12 but after changing the size to 60 the checkbox looks no bigger.

    What am I doing wrong?

    The post was edited 1 time, last by smorgan ().