question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request]: Can BaseFontSize be moved up to IPalette? (and/or be easily modified in kryptonPalette)

See original GitHub issue

Describe the solution you’d like I would like to easily change the base font size of a palette. In order to show all texts bigger and respect the size ratio between different styles.

Describe alternatives you’ve considered My best alternative has been to do this in code:

public Form1()
{
    InitializeComponent();

    if (this.kryptonManager1.GlobalPalette is PaletteBase paletteBase)
    {
        paletteBase.BaseFontSize = 14.0f;
    }
}

But doing this the effect cannot be visualized in the designer. It should be an easier method to just change the base size and be able to display the changes in design-time.

Additional context Sorry if this is a newbie question, I have been looking for alternatives with no luck…

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Smurf-IVcommented, Jan 10, 2023

@Smurf-IV Can this be part of the recent work done on removal of IPalette?

IPalette no longer exists! So this will / may already be in PaletteBase

1reaction
Wagnerpcommented, Jun 28, 2022

Yes, and better naming of what they are used for. But it will break existing code that uses them (If they are used) - So a line in the “Breaking changes” for V7 And then include colour(s) as well ?

Problem is that in testing, these properties do absolutely nothing! But it might be possible to route them in the right direction.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found