More of a CSS question than anything, but still... Horizontal panel. Two widgets. Image and a label. I'd like to set fixed width, but have both widgets aligned to their left, in order to get kind of a rectangle where it looks like [Icon][Label][SPACE][SPACE], till the width is reached.
I've set the width to a random value (300px) and added both label and an image and it resulted in [Icon][SPACE][SPACE][Label] . As I tweak the width of the horizontal panel, only the space between widgets change. I've aligned all the widgets to the left by calling setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT) on horizontal panel before adding any widgets. I'm not bound to use horizontal panel, so if you have any other solution, please post. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xDPVaNL4nnoJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
