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.

[Bug]: 2108.0 Canary - Cannot set text of a button in designer

See original GitHub issue

To Reproduce Add KryptonButton to form Type something in the text Tab off Expected:

  • Text to appear in the button Actual:
  • Button text remains the same

Additional context Sigh… If you go into the Forms designer of a normal button and check out the editor then it has the following: [Editor("System.ComponentModel.Design.MultilineStringEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof (UITypeEditor))]

What has been done in the 2108 version is to remove everything after MultilineStringEditor

Will need to perform a “Search and replace” to put it back, and then retest in net5 / net 6 to see if it the same.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Wagnerpcommented, Aug 3, 2021

@Wagnerp WTF image

What is this persistent text thing attempting to do? I think it should be removed !

@Smurf-IV

Might have been something I was playing with about the KManager’s action button’s text. I thought I had put a bool value in to disable this feature. Can be removed.

1reaction
Smurf-IVcommented, Aug 3, 2021

The above is triggered in the designer when a user sets the text of a button, and then it is replaced during an OnPaint

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot set button text to "<<<"
I'm trying to set the text of a button to "<<<" from my xml but I get an "Error:(20) Error parsing XML: not...
Read more >
Button.text property does not change visible text of a button
Possible bug. Once the text of a button is created it cannot be changed. var button = BABYLON.GUI.Button.
Read more >
Standard-Toolkit/Documents/Help/Changelog.md at master
Note: unknown can still be set when deleting selected node; Resolved #774, ... text programatically; Resolved #225, Cannot set text of a button...
Read more >
Can't figure out why form button text is not showing - Bugs
Hey guys, it's such a simple problem, but I can't seem to figure it out. I added a Form Button to our Contact...
Read more >
Changelog | Cypress Documentation
Fixed an issue where using Cypress.require() would throw the error Cannot find ... Added a new clear button to easily clear the search...
Read more >

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