diff --git a/examples/color_picker.c b/examples/color_picker.c index c7ae9da..60bd1d2 100644 --- a/examples/color_picker.c +++ b/examples/color_picker.c @@ -188,7 +188,7 @@ void color_wheel_setup(MwWidget parent, color_wheel* wheel) { MwSetInteger(wheel->color_display, MwnhasBorder, 1); MwSetInteger(wheel->color_display, MwNinverted, 1); - wheel->color_display_text = MwCreateWidget(MwLabelClass, "colorDisplayFrameText", wheel->color_display, MwGetDefaultBorderWidth(parent), MwGetDefaultBorderWidth(parent), PICKER_SIZE - MwGetDefaultBorderWidth(parent), (PICKER_SIZE / 16) - (MwGetDefaultBorderWidth(parent) * 2)); + wheel->color_display_text = MwCreateWidget(MwLabelClass, "colorDisplayFrameText", wheel->color_display, MwDefaultBorderWidth(parent), MwDefaultBorderWidth(parent), PICKER_SIZE - MwDefaultBorderWidth(parent), (PICKER_SIZE / 16) - (MwDefaultBorderWidth(parent) * 2)); wheel->value_slider = MwVaCreateWidget(MwScrollBarClass, "value-slider", wheel->parent, // x