Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
ui.dialog resizable
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Nick  
View profile   Translate to Translated (View Original)
 More options 16 July 2008, 21:39
From: Nick <nickelsbe...@gmail.com>
Date: Wed, 16 Jul 2008 13:39:02 -0700 (PDT)
Local: Wed 16 July 2008 21:39
Subject: ui.dialog resizable
I am having trouble with the dialog plugin. I have set resizable:
false when I setup the new dialog but the resize handles are still
added to the dialog. They are disabled so I cannot resize them but
they still show the cursor and give the appearance that it should be
resizable. Is this the intended behavior? I was expecting to not have
any resize handles if i set resizable to false.

Thanks!
Nick


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard D. Worth  
View profile   Translate to Translated (View Original)
 More options 17 July 2008, 11:51
From: "Richard D. Worth" <rdwo...@gmail.com>
Date: Thu, 17 Jul 2008 06:51:30 -0400
Local: Thurs 17 July 2008 11:51
Subject: Re: [jquery-ui] ui.dialog resizable

The handles are added so that at any point you can make the dialog resizable
by this call:

$("#myDiv").data("resizable.dialog", true);

As far as changing the cursor, or hiding the handles, either of these can be
accomplished with css. The dialog has the class

ui-dialog

and the resize handles have the class

ui-resizable-handle

Finally, when resizing on the dialog is disabled, the dialog (ui-dialog)
will also have the class

ui-resizable-disabled

If the cursor isn't changing for you currently, it could be a theme bug. If
that's the case, please let us know which theme, so we can update it.
Thanks.

- Richard


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
coshima  
View profile   Translate to Translated (View Original)
 More options 2 Aug 2008, 17:25
From: coshima <cosh...@yahoo.com>
Date: Sat, 2 Aug 2008 09:25:54 -0700 (PDT)
Local: Sat 2 Aug 2008 17:25
Subject: Re: ui.dialog resizable
I have a follow-on question, and also a bit of feedback.

I got stuck on the same behavior Nick initially asked about, and while
I understand the reason why the handles are still created (so the
dialog can be made resizable later), I personally find this behavior
very confusing. If I explicitly set the resizable option to false, I
would naturally expect the dialog to not look or act resizable. I
shouldn't have to go to through extra hoops to override the default
CSS appearance of the resize handles and cursor.

Okay, that said, my question is that I'm having some trouble actually
overriding the default CSS. This may be switching to a theme topic,
but hopefully a short answer can point me in the right direction. I am
NOT including flora.css, and I simply overrode all the .ui-dialog
related CSS rules in my own CSS.

The problem is that ui.resizable.js appears to stick CSS rules,
particularly for the cursor, directly on the handle elements
themselves. These rules will take precedence over any rules I try to
provide using .ui-dialog-handle, etc. So I'm stuck with the cursors
unless unless I set no handles at all (by passing an empty string as
the resize option), or manually change the style properties after the
dialog is created. Both of these feel like hacks.

Is there some theme-related technique that I'm missing that will allow
me to override the CSS that resizable sticks into the style attribute?
Should I look into ThemeRoller for the answer to that? I'm on a tight
schedule and I feel like I'm at a point on this where I should ask for
pointers or advice before getting sidetracked and wandering around
aimlessly. Any comments on this would be appreciated! Thanks,

Craig


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard D. Worth  
View profile   Translate to Translated (View Original)
 More options 3 Aug 2008, 12:34
From: "Richard D. Worth" <rdwo...@gmail.com>
Date: Sun, 3 Aug 2008 07:34:15 -0400
Local: Sun 3 Aug 2008 12:34
Subject: Re: [jquery-ui] Re: ui.dialog resizable

Just add !important in your css for any styles you want to override.

- Richard


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andu  
View profile   Translate to Translated (View Original)
 More options 31 Aug 2008, 02:02
From: andu <andrei.fr...@gmail.com>
Date: Sat, 30 Aug 2008 18:02:02 -0700 (PDT)
Local: Sun 31 Aug 2008 02:02
Subject: Re: ui.dialog resizable
Wouldn't it make more sense not to have the inline css? I mean, if I
want to completely redo the theme for the handles I have to override a
lot o properties set by the plugin..

On Aug 3, 2:34 pm, "Richard D. Worth" <rdwo...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
reyz  
View profile   Translate to Translated (View Original)
 More options 26 Sep 2008, 02:26
From: reyz <micahdelf...@gmail.com>
Date: Thu, 25 Sep 2008 18:26:02 -0700 (PDT)
Local: Fri 26 Sep 2008 02:26
Subject: Re: ui.dialog resizable
!important doesn't work for IE6.  Is there another way to handle this?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile   Translate to Translated (View Original)
 More options 26 Sep 2008, 13:52
From: Scott González <scott.gonza...@gmail.com>
Date: Fri, 26 Sep 2008 05:52:38 -0700 (PDT)
Local: Fri 26 Sep 2008 13:52
Subject: Re: ui.dialog resizable
In 1.6, the handles won't be created any more.  Now when a dialog is
not resizable, it is not initialized as a resizable.  The same goes
for draggable.

It may be worth noting that if you have a dialog that starts resizable
and you change the options to make it not be resizable,
then .resizable('destroy') will be called.

On Aug 2, 12:25 pm, coshima <cosh...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google