Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Mar 2009
    Location
    St Ives
    Posts
    103

    Default Making your own stretchable buttons

    Hello. Although I've lurked around these forums for quite some time, this is my first post......so hello.

    Does anyone know if it's possible to create your own stretchable buttons within Web Designer? There are a good selection of buttons available, but I'd quite like to be able to make my own.

    Thanks to Charles and the Xara team for a great new product. Bought it as soon as it became available. Never really got into the HTML side of Xtreme as it was just too fiddly, but love the web orientated tools/features of WD.

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Making your own stretchable buttons

    Hello planetsquid,

    Glad you decided to post.

    I also would like to know if we can create our own stretch buttons. Maybe John or Charles will let us know.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Question Re: Making your own stretchable buttons

    I've the same question.

    I tried searching the Help file and I could not find* any info about this. There is a reference that there are Stretch Buttons in the Design Templates (but the Trial version does not give you access to the Templates so you can't reverse engineer an existing example).

    Stretch buttons are one the primary features of Designer I'm interested in. I want to know if this capability was improved over Xara's previous capabiltiies.


    * Any chance the Help File could include instructions or, if the instructions are there already, tag them so that Help's search function can find them? If you can't create your own then explicitly state this in the help file. Thank you.
    Last edited by jclements; 04 March 2009 at 04:23 PM.

  4. #4
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default Re: Making your own stretchable buttons

    Hmmmm. I've had a play. Just take a look at stretchable button on the page. It is a shape grouped with a text column. Both objects have text set to repel under. You can ungroup it, edit the shape, regroup and hey presto.

    So even without knowing quite how it works, it looks as if you can... See the attached.
    Attached Files Attached Files
    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk

  5. #5
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Making your own stretchable buttons

    Very clever Simon that works a charm.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  6. #6

    Default Re: Making your own stretchable buttons

    The official answer is that you need to use Xara Xtreme 4 or Pro4 to create completely new stretchy buttons and panels - and even then it's a bit cryptic.

    The unoffical answer is, as you've found out, you can take and existing stretchy panel or button, un-group it all, edit he parts and re-group. That may not always work, and there might be some unexpected effects doing this.

    It's all done with names and the Name Gallery in Xtreme 4. In fact you'll notice those parts of the object that stretch, have one name, like ButtonBack, while those parts that trigger the stretch (usually some text) will have another name like 'buttontext'. Internally we've marked the objects, so that 'buttontext' should stretchy those objects with the name 'buttonback'. This applying the stretch attribute is something that can only be done in Xtreme 4.

    But those willing to experiment, and re-use existing objects, will find that it can be done in Web Designer. You can see the names on objects in WD using the names dialog.

  7. #7
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Making your own stretchable buttons

    Hi guys:

    I must be missing something.
    1- I created a rectangle with rounded corners. Applied a repel to it.
    2- With text tool, I click-dragged a frame of text and typed in text and applied a repel to it.
    3- Selected both objects and grouped them.

    It didn't work.

    I checked Somon's shape but I did not see it had any special attributes other than repel text.

    ????

    ===============

    Charles posted before I could finish my reply.

  8. #8
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Question Re: Making your own stretchable buttons > for Charles

    Charles
    1- Is there a specific syntax for the stretching text relative to its associated streching object? Does Xara and XDesigner look for the text strings "back" and "text" or do both objects have to have the string "button"? Something else?

    2- Should BOTH the text and the button be given a repel attribute or just the botton most object in the group?

    3- Are there plans to eventually allow XDesigner to create its own stretchies? Or at least make things less convoluted?
    Last edited by jclements; 04 March 2009 at 06:22 PM.

  9. #9

    Default Re: Making your own stretchable buttons

    No there is no specific syntax - it's an internal linking marker than simply can't be added in WD. So the only way to get this to work in WD is use existing objects with the right names and the hidden mark-up.

    Or use Xtreme 4.

    And yes we already have a long wish list of things for future versions of Web Designer.

  10. #10
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Making your own stretchable buttons

    Thanks, Charles. And the repel question?

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •