Designing a Custom Slider

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Designing a Custom Slider

ソリューションへジャンプ
1,065件の閲覧回数
db1845
Contributor I

Using GUI-Guider v1.9.1, I'm trying to create my own slider. I've easily added the desirable background image but I want to add a different knob to it as my customer desires. I'm just getting a square that only just exceeds the boundaries of the slider when I'm trying to use an image that is a long thin rectangle.

I must be missing something obvious but the only size I can see controls the main element even when the knob is selected on the 'Parts and State' section.

Any assistance greatly appreciated

Screenshot.jpg

0 件の賞賛
返信
1 解決策
1,026件の閲覧回数
db1845
Contributor I

So, I can see plenty of people have looked at this post but not answered which makes me think it could be a common issue. I’ve done a workaround which keeps me going for now.

Instead of a long thin rectangle, I’ve produce a square that is transparent with the same rectangle in the centre. I’ve then made a slider that is completely transparent apart from the square knob. Underneath this slider I’ve then added an image which is my colour band. This works exactly how I’d like but I’m sure there must be a cleaner solution?

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,027件の閲覧回数
db1845
Contributor I

So, I can see plenty of people have looked at this post but not answered which makes me think it could be a common issue. I’ve done a workaround which keeps me going for now.

Instead of a long thin rectangle, I’ve produce a square that is transparent with the same rectangle in the centre. I’ve then made a slider that is completely transparent apart from the square knob. Underneath this slider I’ve then added an image which is my colour band. This works exactly how I’d like but I’m sure there must be a cleaner solution?

0 件の賞賛
返信
964件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @db1845 

Thank you for your message. We will improve this feature in the future.

BR

Harry

0 件の賞賛
返信