- Jun 6, 2020
- 11,559
- 4,422
Here are several Designer script extension methods that allow buttons to be shaped and rotated.
It's a bit of a novelty, but may come in useful at some time.
Each shape method also attempts to apply centering for multi line text to the buttons labels in line with that set in the designer.
The rotate method has an option not to rotate the text, it actually attempts to find the label attached to the view(s) and reverses the rotation.
Avoid rotating text input fields / Areas, it gets messy very quickly.
I did think about applying gradients to the buttons, but it destroys the hover and click effects and would need to be replaced with CSS, or code.
Star Button:
It's a bit of a novelty, but may come in useful at some time.
برای دیدن تصاویر باید ثبت نام کنید
Each shape method also attempts to apply centering for multi line text to the buttons labels in line with that set in the designer.
The rotate method has an option not to rotate the text, it actually attempts to find the label attached to the view(s) and reverses the rotation.
Avoid rotating text input fields / Areas, it gets messy very quickly.
I did think about applying gradients to the buttons, but it destroys the hover and click effects and would need to be replaced with CSS, or code.
Star Button:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید