mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-22 07:01:12 +01:00
added readonly flag
This commit is contained in:
parent
0be3772812
commit
61b55c5b0f
@ -71,6 +71,8 @@ void ToggleButtonCellRenderer::renderProperties(const ToggleButtonCell* pToggleB
|
||||
if (!pToggleButtonCell->getLabel().empty())
|
||||
ostr << "boxLabel:'" << Utility::safe(pToggleButtonCell->getLabel()) << "',";
|
||||
ostr << "checked:" << (pToggleButtonCell->isChecked()?"true":"false") << ",";
|
||||
if (!pToggleButtonCell->isEditable())
|
||||
ostr << "readOnly:true,";
|
||||
|
||||
Utility::writeCellProperties(pToggleButtonCell, ostr);
|
||||
//tooltip is not supported by togglebutton
|
||||
|
Loading…
x
Reference in New Issue
Block a user