Results 1 to 1 of 1
  1. #1
    rick_cols is offline Member
    Join Date
    Sep 2008
    Rep Power

    Default problem aligning both image/text inside a button


    I can left-align text or image using Button.setAlignment(SWT.LEFT) method, but if a button has both image and text, setAlignment stops working. I am wondering if there is any solution to this problem or that this is a bug.

    Last edited by rick_cols; 09-18-2008 at 10:15 PM.

Similar Threads

  1. Set focus on image button in swt
    By diva_garg in forum New To Java
    Replies: 3
    Last Post: 08-18-2008, 12:27 PM
  2. Get Focus on Image button
    By diva_garg in forum SWT / JFace
    Replies: 0
    Last Post: 08-08-2008, 11:14 AM
  3. Replies: 1
    Last Post: 07-26-2008, 05:26 PM
  4. how to draw an image inside of jscrollpane
    By paty in forum Java Applets
    Replies: 1
    Last Post: 07-24-2007, 12:44 AM
  5. creating an image button when using struts
    By yuchuang in forum Web Frameworks
    Replies: 1
    Last Post: 05-03-2007, 04:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts