You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I changed to: nk_property_double()
now the update of double values work, but the widget has the increase/decrase arrow that waste space.
I had to increase the size from 50 to 70 pixel for each value entry, so from 256 to 316 of node windows.
I tryed to use "###name" (# autohash, ## skip label, ### skip label and button)
and disabling /* execute right/left button */ code in: nk_do_property()
on name[1]=='#', but the space is still reserved and left blank.
I also tryed to comment the:
/* left decrement button */
left.h = font->height/2;
...
calculated fill in the same function, but wont work.
Is there a method to hide increase/decrease button to save space?
The text was updated successfully, but these errors were encountered:
efa
changed the title
hide increase/decrease button from nk_property_*()
hide increase/decrease buttons from nk_property_*()
Sep 1, 2024
Using:
nk_edit_string_zero_terminated()
I got a compact widget and node windows:
https://github.com/efa/PowerBudget/blob/main/PowerBudgetGUI.png
but cannot get to right update for double values.
So I changed to:
nk_property_double()
now the update of double values work, but the widget has the increase/decrase arrow that waste space.
I had to increase the size from 50 to 70 pixel for each value entry, so from 256 to 316 of node windows.
I tryed to use "###name" (# autohash, ## skip label, ### skip label and button)
and disabling /* execute right/left button */ code in:
nk_do_property()
on
name[1]=='#'
, but the space is still reserved and left blank.I also tryed to comment the:
calculated fill in the same function, but wont work.
Is there a method to hide increase/decrease button to save space?
The text was updated successfully, but these errors were encountered: