Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 08:55:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Buttons change size in Aqua theme  (Read 750 times)
mywebwork
Jr. Member
**
Posts: 15


View Profile
« on: November 23, 2009, 06:44:07 PM »

Hi

I have a project that makes use of several buttons.  It works great, but when I change the theme to "Aqua" I get a strange effect.

A couple of the buttons (standard buttons, sized down to 22 x 50 px) randomly "grow" after the application is loaded. Often this occurs after a mouseover, but in many cases they do this for no apparent reason and without any action applied to the buttons. The other buttons, also standard buttons, don't experience this effect.  When they expand the do so both horizontally and vertically, growing to about twice their original size.

The other two themes don't experience this effect.  Unfortunately this design calls for the Aqua theme.

Can anyone explain what is happening here and how I can resolve this?

Thanks

Bill
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: November 23, 2009, 08:28:19 PM »

 use linb.UI.SButton to replace linb.UI.Button;

or

don't use setTheme function, add <link type="text/css" rel="stylesheet" href="runtime/jsLinb/appearance/aqua/theme.css"> into your html head directly


or


get the latest version in svn:http://linb.googlecode.com/svn/trunk/jsLinb2.2
« Last Edit: November 23, 2009, 08:51:00 PM by linb » Logged
mywebwork
Jr. Member
**
Posts: 15


View Profile
« Reply #2 on: November 24, 2009, 11:03:17 PM »

Once again thank you so much linb!  I changed the application to directly reference the stylesheet as per your suggestion and it fixed everything.


Bill
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!