Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » text in button(i want to fit "1" text in button, it needs to be enlarged)
text in button [message #893845] Thu, 05 July 2012 16:31 Go to next message
nc rk is currently offline nc rkFriend
Messages: 3
Registered: July 2012
Junior Member
i want to write "1" number in a button. i have to enlarge button more to see 1 in then button. when i decrease font, i couldnt make "1" text fit in the button.

index.php/fa/10591/0/



  • Attachment: hesap.jpg
    (Size: 97.10KB, Downloaded 1564 times)
Re: text in button [message #893853 is a reply to message #893845] Thu, 05 July 2012 17:16 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Are you asking a question of some sort? Or just making an observation?

BTW, absolute layout is the worst possible layout to use for something like this. You should use GridLayout for the UI in your screen shot.
Re: text in button [message #893876 is a reply to message #893853] Thu, 05 July 2012 19:10 Go to previous messageGo to next message
nc rk is currently offline nc rkFriend
Messages: 3
Registered: July 2012
Junior Member
as seen "1" text can put in the button, it couldnt. ... is seen in the button.
Re: text in button [message #893877 is a reply to message #893853] Thu, 05 July 2012 19:12 Go to previous messageGo to next message
nc rk is currently offline nc rkFriend
Messages: 3
Registered: July 2012
Junior Member
im new in java desktop app, why grid layout is better than absolute. absolute is flexible, comfortable to change position
Re: text in button [message #893893 is a reply to message #893877] Thu, 05 July 2012 20:48 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Actually, absolute layout is the most rigid and inflexible of all of them. It is essentially useless for any real application development and is only suitable for quick and dirty, throw away mock ups.
Re: text in button [message #893894 is a reply to message #893893] Thu, 05 July 2012 20:49 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Also, what you see in the image is exactly what I would expect to see given the size of the button and choice of OS.
Previous Topic:How should I add validation to WindowBuilder-generated data binding?
Next Topic:In design tab palette misplaced
Goto Forum:
  


Current Time: Thu Mar 28 22:47:57 GMT 2024

Powered by FUDForum. Page generated in 0.02222 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top