mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
VisualBuilder: Don't allow moving/resizing widgets that are in a layout
Also paint these widgets' grabbers differently to make it stand out visually which widgets have managed geometry. :^)
This commit is contained in:
parent
5e439bb3c8
commit
9d460d55d1
3 changed files with 26 additions and 2 deletions
|
@ -72,6 +72,8 @@ public:
|
|||
Rect transform_origin_rect() const { return m_transform_origin_rect; }
|
||||
void capture_transform_origin_rect();
|
||||
|
||||
bool is_in_layout() const;
|
||||
|
||||
private:
|
||||
VBWidget(VBWidgetType, VBForm&, VBWidget* parent);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue