• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem with the size of submit button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with the size of submit button


  • Subject: Re: problem with the size of submit button
  • From: Art Isbell <email@hidden>
  • Date: Fri, 22 Aug 2003 12:53:11 -1000

On Friday, August 22, 2003, at 03:20  AM, tan teck keong wrote:

i have a problem with the size of the button, i can't resize it. i had try to insert a html font tag in between the element to enlarge the button, but it still not working. how do i do it?

I have increased the width of a submit button by prepending and appending space characters around the title. I tried prepending and appending a newline character to increase the button's height, but this failed.


However, you might get what you want if you "build" a button using a WOGenericContainer:

<WEBOBJECT NAME=Button><FONT SIZE=7><BR>BIG BUTTON<BR></FONT></WEBOBJECT>

Button: WOGenericContainer {
	type = "SUBMIT";
	elementName = "BUTTON";
	invokeAction = actionMethod;
}

Because this button's title is outside the element's tag unlike the usual submit button, you can adjust this button's height by adjusting the title's font size, by making the title more than one line, etc. Curiously, on Safari, this BUTTON element doesn't have an Aqua look. It is rendered as a rectangular gray area with a 3D border that changes when clicked to emulate the pressing of a button.

Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >problem with the size of submit button (From: tan teck keong <email@hidden>)

  • Prev by Date: Re: EOFetchSpecification with SQL
  • Next by Date: Re: Can't view my classes or files in project builder after crash
  • Previous by thread: problem with the size of submit button
  • Next by thread: java universality
  • Index(es):
    • Date
    • Thread