diff --git a/nuklear.h b/nuklear.h index 9e4daeaba..d4098b00a 100644 --- a/nuklear.h +++ b/nuklear.h @@ -28919,7 +28919,7 @@ nk_do_property(nk_flags *ws, struct nk_rect empty; /* left decrement button */ - left.h = font->height/2; + left.h = font->height; left.w = left.h; left.x = property.x + style->border + style->padding.x; left.y = property.y + style->border + property.h/2.0f - left.h/2; diff --git a/src/nuklear_property.c b/src/nuklear_property.c index 104e84c47..c5bc9bc98 100644 --- a/src/nuklear_property.c +++ b/src/nuklear_property.c @@ -162,7 +162,7 @@ nk_do_property(nk_flags *ws, struct nk_rect empty; /* left decrement button */ - left.h = font->height/2; + left.h = font->height; left.w = left.h; left.x = property.x + style->border + style->padding.x; left.y = property.y + style->border + property.h/2.0f - left.h/2;