Two questions about buttons.

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
TBURKE2
Posts:15
Joined: Tue Jun 02, 2015 6:08 pm

Two questions about buttons.

Post by TBURKE2 »

Hi! I have two quick push button questions.

Long story short, we are trying to make our own cascading buttons, because we want a way to change the button size and colours, which I haven't figured out how to do on the default cascade buttons.

We have two problems. First, how do we left align text on push buttons? The Property Editor doesn't seem to work. And secondly, is it possible to have a script run when we click OUTSIDE of a button (so we can close our cascade)? I haven't figured out a way to handle closing the cascade once it's open other than clicking on the button a second time, which gets rather annoying.


Thanks!

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Two questions about buttons.

Post by mkoller »

Long story short: Wrong approach ;-)

Seriously, this is a hack. If you need a special kind of cascade (popup menu), then you should look into implementing this as an EWO (Qt, C++).

Optionally, get in contact with your sales contact and see if we can implement something for you (e.g. enhancing the std. cascade)

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Two questions about buttons.

Post by Gertjan van Schijndel »

You could try with a stylesheet.

3 posts • Page 1 of 1