-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Input controls' EditArea focus colouring is not themed #1826
Comments
Hi @lesandrog, @PWagner1, @Smurf-IV, I've been looking into this but the default behaviour is overridden by the theming. When the combobox has the focus and you cycle through the items by keyboard you can see the inner combobox displaying this blue/white colouring. Right after that the theming kicks in and repaints it. When hovering over it with the mouse and scrolling it this flickering isn't there. The question here if this is something we want to change or the newer way this functions is the way to go? Your input please... |
The ComboBox has a Theming Focus style, so things like the border colour can be changed ( thickness / rounding etc) |
@Smurf-IV |
Added |
@Smurf-IV Back to the default from the inner combo isn't really an option since that won't always have the look you want with each theme on it's own. |
|
I do not understand ? |
@Smurf-IV |
Can you have look at the above and give it a try to configure this manually. |
For now I'll use it this way, Color of StateActive/ComboBox/Back: 0;120;215 and AlwaysActive: False. The downsides are: I don't think this is the most appropriate or practical solution. Thank you, and congratulations on your work. |
Hi @lesandrog, Yes, it will do as a work-around for now. On the other hand the questions remains if it should be part of the theming and made an options that can toggled. I think we need a bit of discussion before we move on... |
It should be a theme thing, and the default should be made OR: |
@Smurf-IV Yes, AlwaysActive can be or rather is already the toggle for this. Is this one that should go into the KCustomePaletteBase only as we are switching to embedded XML themes in V100.... ? |
Could you have a look at DomainUpDown and NumericUpdown ? |
@giduac So this concern could be eliminated:
|
I think that colour comes from the current active Windows Theme. |
No, AS this is a regression away from what used to happen (i.e. no highlighting at all in V85 onwards !) |
@Smurf-IV & @PWagner1 & @lesandrog, All input controls affected by this should get the fix and made to behave and be configurable in the same manner.
I think we should reconsider this as V100 only as this is not a critical issue and time is something rare in these pastures.... |
Hi @Smurf-IV, @PWagner1 & @lesandrog, I've updated the topic start and added a list with all controls affected. |
The Krypton ComboBox component with the DropDownStyle property = ComboBoxStyle.DropDownList, when clicked or given focus, does not display any visual selection feature.
I think this makes it difficult to navigate using keys (TAB).
The default Windowsform combobox and the ComponentFactory have different behavior.
This is a sample of the behaviour that needs correcting.
Controls affected:
KComboBox
KRibbonComboBox
(needs a check)KDateTimePicker
KDomainUpDown
KListView
(all view modes affected)KMaskedTextBox
KNumericUpdown
KTextBox
Other controls that are derived from the above might override behaviour and need to have a check when the above have been corrected.
Sample project:
WindowsApp3.zip
The text was updated successfully, but these errors were encountered: