Append / Prepend Widget is broken

74 views
Skip to first unread message

Sam Radford

unread,
Jul 5, 2013, 4:47:30 PM7/5/13
to gwt-bo...@googlegroups.com
Hi,

I'm unable to get the append / prepend widget feature to work as per the docs. My uibinder markup is :

                    <b:ControlGroup>
                        <b:Controls>
                            <b:InputAddOn>
                                <b:prependWidget>
                                    <b:Button icon="MINUS_SIGN"/>
                                </b:prependWidget>
                                <b:TextBox maxLength="2" />
                                <b:appendWidget>
                                    <b:Button icon="PLUS_SIGN"/>   
                                </b:appendWidget>
                            </b:InputAddOn>
                        </b:Controls>
                    </b:ControlGroup>

unfortunately, however, the button is too large for the append / prepend.  changing the button to size="MINI" will work but then it doesn't look right.

any ideas?

Sam Radford

unread,
Jul 5, 2013, 4:54:23 PM7/5/13
to gwt-bo...@googlegroups.com
BTW,

this can be fixed with :

                    <b:ControlGroup>
                        <b:Controls addStyleNames="input-prepend input-append">

                            <b:Button icon="MINUS_SIGN"/>
                            <b:TextBox maxLength="2" />
                            <b:Button icon="PLUS_SIGN"/>   
                        </b:Controls>
                    </b:ControlGroup>

maybe the docs need updating or is this a bug?



--
You received this message because you are subscribed to a topic in the Google Groups "GWT-Bootstrap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gwt-bootstrap/dbaGq3tdcfY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gwt-bootstra...@googlegroups.com.
To post to this group, send email to gwt-bo...@googlegroups.com.
Visit this group at http://groups.google.com/group/gwt-bootstrap.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages