Skip to content

Commit

Permalink
Fixed creator f-test
Browse files Browse the repository at this point in the history
tsv2013 committed Dec 16, 2024
1 parent 50089e2 commit c6e48db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/survey-core/src/survey.ts
Original file line number Diff line number Diff line change
@@ -7337,10 +7337,11 @@ export class SurveyModel extends SurveyElementCore
}
public get renderedWidth(): string {
const isStaticWidth = this.getPropertyValue("calculatedWidthMode") == "static";
let width: any = this.getPropertyValue("width") || this.staticStartWidth;
let width: any = this.getPropertyValue("width");
if (this.isScaled && this.responsiveStartWidth > 1) {
let initialWidth = this.responsiveStartWidth;
try {
width = width || this.staticStartWidth;
initialWidth = !isNaN(width) ? width : parseFloat(width.toString().replace("px", ""));
} catch (e) { }
return (isStaticWidth ? initialWidth : this.responsiveStartWidth) * this.widthScale / 100 + "px";

0 comments on commit c6e48db

Please sign in to comment.