Standard-Toolkit icon indicating copy to clipboard operation
Standard-Toolkit copied to clipboard

[Feature Request]: Continue work on the `Palette` import / export usage

Open Smurf-IV opened this issue 2 years ago • 10 comments

As per #827 there are still outstanding things to be voted upon:

Next:

  • [ ] #1450
  • [x] Aim for a single set of strings for the theme names
  • [x] Sort loading of Themes (xml)
  • ~~[ ] Sort loading of Themes (Designer)~~
  • [ ] Sort loading of Themes (Binary) ?
  • [x] Add / Update example projects
  • [ ] Update Theme creator so "save / load" in "Designer / Binary" format ??

Smurf-IV avatar Jan 21 '23 09:01 Smurf-IV

Adding to discord as a pinned comment

Link: https://canary.discord.com/channels/620577714889424916/620577714889424918/1066293495674966078

PWagner1 avatar Jan 21 '23 09:01 PWagner1

My votes go to

  1. Add doc's on how to use the various theming options (xml, base, designer, programmatic, etc.)
  2. Add / Update example projects

The rest I could do in my application if needed...

hopla avatar Jan 21 '23 12:01 hopla

I agree with hopla. I rarely use the themes. Generally design my own ui.

sdreb3421 avatar Jan 21 '23 17:01 sdreb3421

Documentation and examples. I think there's way more cool stuff that's available in the current version of Krypton than I know about. And having new showcase for them in examples and documentation would be good.

cuppm avatar Jan 23 '23 17:01 cuppm

After sorting the usage of themes via KrptonManager updates here are my observations on the comments above

Sort loading of Themes (Binary)

No, as binary serialisation always appears to be replaced with a newer version that does not have x security or performance Y thing. So it will stick with xml. It's fast enough for these "One off" stylings

Add / Update example projects

There already are examples on "Custom" Palette usages

  • Loading and applying a saved palette
  • Using the designer to create palete modification and applying that via the "GlobalCustom Palette" equivalent
  • Being able to override the base font used regardless of the colour theme being used.

Smurf-IV avatar Dec 17 '23 10:12 Smurf-IV

The documentation is wrong: https://krypton-suite.github.io/Standard-Toolkit-Online-Help/Source/Help/Output/articles/palettes.html

There is no KryptonPalette type, among the HUNDREDS!?!? of Palette types.

Is there somewhere else I should be looking? I'm trying to import an XML theme (you could you json), and I've tried dozens of ways that don't work.

SteveAndrews avatar May 04 '24 14:05 SteveAndrews

The documentation is wrong: https://krypton-suite.github.io/Standard-Toolkit-Online-Help/Source/Help/Output/articles/palettes.html

There is no KryptonPalette type, among the HUNDREDS!?!? of Palette types.

Is there somewhere else I should be looking? I'm trying to import an XML theme (you could you json), and I've tried dozens of ways that don't work.

Hi @SteveAndrews

Thanks for notifying, yes this documentation is out-of-date. As of V80, you need to be using KryptonCustomPaletteBase then assign it to the KryptonManager as a 'Custom' palette.

@Smurf-IV Should this documentation be removed or updated?

PWagner1 avatar May 04 '24 18:05 PWagner1

@Wagnerp Should have been done as part of the 1st option, but never got done. Perhaps re-open this or create a new one, and link back to here ?

Smurf-IV avatar May 05 '24 06:05 Smurf-IV

@Smurf-IV Going to reopen

PWagner1 avatar May 05 '24 07:05 PWagner1

Hi @SteveAndrews

Does this solve your issue https://krypton-suite.github.io/Standard-Toolkit-Online-Help/Source/Help/Output/articles/Overview/Palettes.html

PWagner1 avatar Jun 30 '24 14:06 PWagner1

Closing, as Themes work is being superceded with newer ideas.

Smurf-IV avatar Jul 07 '24 08:07 Smurf-IV