Jump to content
You must now use your email address to sign in [click for more info] ×

Change Text Contents Without Unlinking Text Color or Size from Symbol


Recommended Posts

Is it possible to change the contents of a Text Symbol without unlinking the Text Color and Size from the Symbol?

Basically, I'm attempting to use Symbols sort of like CSS classes. I'd like to be able to change the contents of a text fragment but still be able to style all text fragments the same way (Color, Size, etc...).

Link to comment
Share on other sites

 

7 hours ago, blf said:

I'd like to be able to change the contents of a text fragment but still be able to style all text fragments the same way (Color, Size, etc...).

Why do you use Symbols? These are suitable for graphics.

Why not use Character or Paragraph Style? So styles for text.

7 hours ago, blf said:

like CSS classes

 

What application do you use? According to working with the text I assume APublisher.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

I'm currently using Affinity Designer and trying to do some User Interface Prototyping.  I only just started using the software, so maybe Symbols aren't the right tool for the job.

To clarify, I'm not actually creating a Symbol directly from a Text object. Rather, I'm grouping together a bunch of objects to create something which resembles a list item and then creating a Symbol from that group.  I'm then trying to change the contents of the list item while maintaining the ability to style it.

I might play around with Text Styles tonight and see if that goes any better.

If there is a better way to do what I'm trying to do, I'm all ears.  I'm just hoping that I can use Designer to prototype a little more rapidly than firing up a browser and writing some code.

Link to comment
Share on other sites

1 hour ago, blf said:

If there is a better way to do what I'm trying to do, I'm all ears.

Without a demonstration of exactly what you are trying to do, nobody is likely to advise you on the best/optimally course of action.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

When Text is de-synced from a symbol it loses sync of: position, size, font, colour, contents etc.

But you can work around this by using Text Styles in combination with Symbols.

See… 

 

 

 

Win10 Home x64   |   AMD Ryzen 7 2700X @ 3.7GHz   |   48 GB RAM   |   1TB SSD   |   nVidia GTX 1660   |   Wacom Intuos Pro

Link to comment
Share on other sites

  • 1 year later...
On 3/19/2020 at 6:08 PM, blf said:

Is it possible to change the contents of a Text Symbol without unlinking the Text Color and Size from the Symbol?

Basically, I'm attempting to use Symbols sort of like CSS classes. I'd like to be able to change the contents of a text fragment but still be able to style all text fragments the same way (Color, Size, etc...).

Hi,

Anything new about this ?

Thank you

Link to comment
Share on other sites

2 hours ago, Hellodesigners said:

I want to create a symbol which has shapes and text layers but when i change the symbol and text layer, this change on the text applied to all replications of the symbol.

But this is perhaps the meaning of the symbol - so that any change is reflected in all its instances.
If you want to edit a local copy of symbol, you must disable Sync in the Symbol panel, or Detach it completely.

https://affinity.help/designer/English.lproj/pages/Panels/symbolsPanel.html
https://affinity.help/designer/English.lproj/pages/SymbolsAssets/symbols.html

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

8 hours ago, Hellodesigners said:

when i change the symbol and text layer, this change on the text applied to all replications of the symbol

This is literally "by design", the exact purpose of Symbols.

If you only want partial sync between objects, you can link them in Affinity Photo via Layer > Duplicate Linked, or the Links panel. This feature is only available and editable in Photo, but generally it works just as well with Designer (or Publisher, for that matter) documents:

  1. in Designer: File > Edit in Photo
  2. in Photo: set up linked layers (every object is in fact a "layer"): affinity.help/photo/English.lproj/pages/LayerOperations/linking.html
  3. File > Edit in Designer
  4. continue in Designer

Note that changing text content and text attributes is always linked and cannot be separated either.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.