Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thumbSize for Slider2d #724

Open
timblechmann opened this issue Feb 10, 2013 · 1 comment · May be fixed by #6270
Open

thumbSize for Slider2d #724

timblechmann opened this issue Feb 10, 2013 · 1 comment · May be fixed by #6270
Labels
comp: Qt GUI sclang Qt components -- for IDE tickets, use "env: SCIDE" instead enhancement
Milestone

Comments

@timblechmann
Copy link
Contributor

Slider supports setting a thumb size, but in the Slider2d, the size of the thumb seems to be fixed. for small guis it would be great to be able to customize it!

@scztt scztt modified the milestone: future Apr 18, 2015
@dmorgan-github
Copy link

Would like to upvote this issue.

JordanHendersonMusic pushed a commit to JordanHendersonMusic/supercollider that referenced this issue Apr 24, 2024
Simply adds another q_property to QcSlider2D.h

Closes supercollider#724.

Some code to demonstrate this change.
```
Window().layout_(
	VLayout(
		~a = Slider2D().action_({
			~b.thumbSize = ~a.x.linlin(0, 1, 5, 50)
		}),
		~b = Slider2D().action_({
			~a.thumbSize = ~b.x.linlin(0, 1, 5, 50)
		})
	)
)
.front
```
@JordanHendersonMusic JordanHendersonMusic linked a pull request Apr 24, 2024 that will close this issue
4 tasks
JordanHendersonMusic pushed a commit to JordanHendersonMusic/supercollider that referenced this issue Apr 26, 2024
Simply adds another q_property to QcSlider2D.h

Closes supercollider#724.

Some code to demonstrate this change.
```
Window().layout_(
	VLayout(
		~a = Slider2D().action_({
			~b.thumbSize = ~a.x.linlin(0, 1, 5, 50)
		}),
		~b = Slider2D().action_({
			~a.thumbSize = ~b.x.linlin(0, 1, 5, 50)
		})
	)
)
.front
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: Qt GUI sclang Qt components -- for IDE tickets, use "env: SCIDE" instead enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants