on 09-19-2008 7:27 AM
Hi,
There are 6 buttons, 3 buttons in a line and another 3 beneath the line as below.
b1 b2 b3
b4 b5 b6
Know depending upon the length of text, the size of buttons are different.Even i had given different values in Width property of the button, but it is not reflecting anything.
I want to have the size of six buttons to be same.How can i archive this.
Thanks
Maha
hi ,
for this set the size of button in pixels.
it will work.
Thanks and Regards
Trilochan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
set width property of button with pixcels eg 20px.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
take a value attribute and bind this attribute with all six buttons width property.
in DoInit() method set attibute value.
example,
wdContext.setAttribute(100);
then all buttons have the same width.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Give same value to the 'width' property of each button.
ex: 100px
Regards
LN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U can set the width of the Button UI element and can be specified in CSS units like em, ex, pixels, or percentage or u can set the width at run time using setwidth method
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.