Mercurial > octave
view .editorconfig @ 28245:46a23dc62056
Implement "gray" when uicontrol pushbuttons/togglebuttons are disabled (bug #57128)
* BaseControl.cc (updatePalette): For pushbuttons & togglebuttons, add
":enabled" to beginning of StyleSheet specification so that custom colors are
only applied when widget is active.
* BaseControl.cc (init): Call blockSignals() if "Enable" property is "inactive"
during setup of widget. Otherwise, call setEnabled() with value of "Enable"
property.
* BaseControl.cc (update): When updating "Enable" property, call blockSignals()
if value is "inactive", otherwise call setEnabled().
author | Rik <rik@octave.org> |
---|---|
date | Sun, 26 Apr 2020 10:48:20 -0700 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab