View Issue Details

IDProjectCategoryView StatusLast Update
0004698NoesisGUIStudiopublic2026-01-13 17:08
Reporterdstewart Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status feedbackResolutionopen 
Product VersionStudio_Beta 
Summary0004698: Viewboxes Don't Affect Shapes
Description

Currently, if you insert any Element into a Viewbox, it will will the Viewbox proportionally to the dimensions set in the Viewbox.

However, it appears as though Studio's Shapes are excluded from this behavior, and their scale cannot be controlled by a Viewbox parent.

Video Attached.


Repro Steps:

1) Create a Project featuring a MainPage.xaml

2) Introduce a Viewbox to the Page

3) Introduce a Button Element into the Viewbox, and clear the Button Height and Width Dimensions.

Observe how the Button fills the Viewbox.

4) Delete the Button, and in its place, introduce a Star shape into the Viewbox, and clear the Star Height and Width Dimensions.

Observe how the Star collapses to nothing, and is not scaled up by the Viewbox.

Expected Results: Viewboxes affect Shape Elements in the same manner as all other Studio Elements.

Attached Files
PlatformAny

Activities

sfernandez

sfernandez

2026-01-13 17:08

manager   ~0011693

Yes, that's the expected behavior.

A Viewbox scales the child desired size to fill the Viewbox available size.
A Shape with a Stretch set to anything except None has a desired size of 0 by definition, unless you set its Width/Height properties.
If Stretch is set to None it uses the bounds of the defining geometry as desired size (it could also be zero for some shapes).

In the case of the Button, the desired size is obtained by the text itself with the border padding that the template is using. If you put an empty border as the template it will behave the same as the Shape.

Issue History

Date Modified Username Field Change
2026-01-13 14:40 dstewart New Issue
2026-01-13 14:40 dstewart File Added: 2026-01-13 08-38-59.mp4
2026-01-13 17:08 sfernandez Assigned To => sfernandez
2026-01-13 17:08 sfernandez Status new => feedback
2026-01-13 17:08 sfernandez Note Added: 0011693