mirror of https://github.com/buggins/dlangui.git
fix GroupBox crash on theme change
This commit is contained in:
parent
6177a93a74
commit
e59c6fad2e
|
@ -130,6 +130,12 @@ class GroupBox : LinearLayout {
|
||||||
_topHeight = _topFrameHeight;
|
_topHeight = _topFrameHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// handle theme change: e.g. reload some themed resources
|
||||||
|
override void onThemeChanged() {
|
||||||
|
super.onThemeChanged();
|
||||||
|
_caption.onThemeChanged();
|
||||||
|
}
|
||||||
|
|
||||||
/// get padding (between background bounds and content of widget)
|
/// get padding (between background bounds and content of widget)
|
||||||
override @property Rect padding() const {
|
override @property Rect padding() const {
|
||||||
// get default padding
|
// get default padding
|
||||||
|
|
Loading…
Reference in New Issue