LineWidth help for a project

For a project I am working on, we have a canvas to draw on. we need to add a feature that allowes the linewidth to be changed. the linewidth could come at a base value of 5 and It needs to have the ability to be increased to 10 with a button or decreased 1 with a button, like volume buttons.

You can use a slider to set linewidth
slider

@patel

He said button actually.

@TheMels

Here you go :

Answer to your question.

Click on it to get your answer discussion.

I think he might be your classmate who asked for help there [In that link (On the same topic, same values)]. :grin:

Please mark this as the solution. :grin:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.