mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:40:05 +00:00
Line label geometry needs updated whenever a component width changes
This commit is contained in:
parent
eda7751eb9
commit
88b8a8001f
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ void LineLabel::set_border_width(std::size_t width)
|
||||||
{
|
{
|
||||||
p->borderWidth_ = width;
|
p->borderWidth_ = width;
|
||||||
p->pixmapDirty_ = true;
|
p->pixmapDirty_ = true;
|
||||||
|
updateGeometry();
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -52,6 +53,7 @@ void LineLabel::set_highlight_width(std::size_t width)
|
||||||
{
|
{
|
||||||
p->highlightWidth_ = width;
|
p->highlightWidth_ = width;
|
||||||
p->pixmapDirty_ = true;
|
p->pixmapDirty_ = true;
|
||||||
|
updateGeometry();
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -59,6 +61,7 @@ void LineLabel::set_line_width(std::size_t width)
|
||||||
{
|
{
|
||||||
p->lineWidth_ = width;
|
p->lineWidth_ = width;
|
||||||
p->pixmapDirty_ = true;
|
p->pixmapDirty_ = true;
|
||||||
|
updateGeometry();
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue