Edit the Logo Position survey property in Property Grid

This issue has been tracked since 2023-03-19.

Are you requesting a feature, reporting a bug or ask a question?

Proposal feature: Edit logo position

What is the current behavior?

i saw these texts on localization file, but i don't see any action on survey UI

    logoPosition: 'Logo position',
    addLogo: 'Add logo...',
    changeLogo: 'Change logo...',
    logoPositions: {
      none: 'Remove logo',
      left: 'Left',
      right: 'Right',
      top: 'On the top',
      bottom: 'In the bottom',
    },

image

What is the expected behavior?

I hope you can add "Edit logo position" option so that i can edit logo position

Tested page URL: https://surveyjs.io/survey-creator/examples/free-nps-survey-template/reactjs

JaneSjs wrote this answer on 2023-03-20

Hello @HoaDevDn,
Thank you for your suggestion. I forwarded it to the development team for further consideration. In the meantime, you can edit a survey JSON model and specify the survey.logoPosition property.

{
 "title": "Survey Title&Logo demo",
 "description": "Please take look at the survey title and logo. Test the settings on the right panel ->",
 "logo": "https://surveyjs.io/favicon.ico",
 "logoWidth": "60px",
 "logoHeight": "60px",
 "logoPosition": "right"
...

Please let me know if you have any questions.

JaneSjs wrote this answer on 2023-03-28

Hello @HoaDevDn,
Please use the following code to display the Survey | Logo Position property in the Property Grid | Logo category:

const logoPositionProp = Survey.Serializer.findProperty("survey", "logoPosition");
logoPositionProp.category = "logo";
logoPositionProp.visible = true;

Example

image

Please feel free to reactivate this thread if you have further questions.

More Details About Repo
Owner Name surveyjs
Repo Name survey-creator
Full Name surveyjs/survey-creator
Language TypeScript
Created Date 2015-12-22
Updated Date 2023-03-30
Star Count 683
Watcher Count 29
Fork Count 308
Issue Count 301

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date