Customizable Fields Window

  • Advertisement ( why? )
     

    Maglor, 2nd Aug 2012 1:31 pm

    Is there a way to set the width of the Customizable Fields Window in a plugin?.

    Nigel

    • HTML-Kit Support, 2nd Aug 2012 11:41 pm

      On 8/2/2012 1:31 PM, Maglor wrote:

      Is there a way to set the width of the Customizable Fields Window in a plugin?.

      Nigel

      Hi Nigel,

      Not currently but I added a new "dialogwidth" option for you. This will
      be in 20120801 general release.

      So for example, the following can be added to a template or a snippet to
      resize its input dialog:

       {{dialogsettings|||hidden,dialogwidth=500}}
      

      A couple of caveats:

      • The width shouldn't be set unless there's no other way to get the user
        experience you're after. This is so that it can calculate width taking
        screen resolution, size of translated text, etc., into account.

      • The user can resize dialogs and that will override any dialogwidth
        setting. You can make sure that dialogwidth is working by selecting
        "Reset dialog position and size" from bottom-left drop-down menu.

      Hope this helps!

      Chami

      • Luca, 3rd Aug 2012 1:31 am

        Hi chami,
        This is always me..... :-) I don't know "customizable dialogs" how they can be useful? there is some example or a little tutorial on your website? :-)

        • HTML-Kit Support, 3rd Aug 2012 2:00 am

          On 8/3/2012 1:31 AM, Luca wrote:

          Hi chami,
          This is always me..... :-) I don't know "customizable dialogs" how
          they can be useful? there is some example or a little tutorial on
          your website? :-)

          I'd start here:

          http://www.html-kit.com/support/tools/custom-actions/

          And it is a pretty small tutorial :)

          Chami

      • Maglor, 3rd Aug 2012 5:59 am

        Thank you so much, the window opens up to narrow to show the default content of the field, especially when you have a longish label on the field.

        Nigel