From 202ddd0c58933e80b60373690412d2103b60388b Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Wed, 26 May 2010 15:08:37 -0400 Subject: [PATCH] Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left --- tests/static/button/default.html | 81 ++++++++++++++++++++++---------- tests/visual/button/button.html | 6 +-- themes/base/jquery.ui.button.css | 13 ++--- ui/jquery.ui.button.js | 6 +-- 4 files changed, 67 insertions(+), 39 deletions(-) diff --git a/tests/static/button/default.html b/tests/static/button/default.html index a2c35a4ad..e0e005090 100644 --- a/tests/static/button/default.html +++ b/tests/static/button/default.html @@ -23,24 +23,34 @@ - - + + + + @@ -53,24 +63,34 @@ - - Button + + Primary icon - - - Button + + Secondary icon + + + + + + Primary icon + + + + Secondary icon + - Button + Both icons - Button + No text @@ -85,24 +105,34 @@ -