Akascape / CTkDesigner-Support

Support page for CTkDesigner - GUI design app for customtkinter
https://ko-fi.com/s/6fca1ae70f
Other
90 stars 0 forks source link

Issue when making an element persistent with right click "Fix" #7

Closed InfHorus closed 8 months ago

InfHorus commented 8 months ago

First problem is when making a header for your app, then persisting it using Fix, all new item we spawn get spawned below that header so that makes it just unusable at all.

image

Second problem when "Fixing" a label it reset its font properties like the size before:

image

after:

image

overall the application is very cool it just has a lot of bugs, mainly on the Label element that makes it difficult to use, but once fixed the app would be a game changer

Akascape commented 8 months ago

@InfHorus Thanks for reporting these bugs, the next update should fix this.

As it's in the early stage, there are some few bugs like this. But again, thanks for supporting this project.

InfHorus commented 8 months ago

@InfHorus Thanks for reporting these bugs, the next update should fix this.

As it's in the early stage, there are some few bugs like this. But again, thanks for supporting this project.

Thanks, it has a huge potential with a few additions and bug fixes it could easily become one of the most used gui maker for python.

InfHorus commented 8 months ago

@InfHorus Thanks for reporting these bugs, the next update should fix this.

As it's in the early stage, there are some few bugs like this. But again, thanks for supporting this project.

Do you think for next update you can also add a way to add images? From what I've seen right now if I want to add an image only I have to cheat by using a button and use empty char in it then merge the colors with the background, unless there is a better method I haven't seen

InfHorus commented 8 months ago

Also when using a label with the parameter "Italic" it clips the end of the word, Before:

image

After Italic:

image

it does that whatever the word and the size of the text

Akascape commented 8 months ago

Also when using a label with the parameter "Italic" it clips the end of the word,

@InfHorus Try adjusting the padx slider

Akascape commented 8 months ago

@InfHorus Thanks for reporting these bugs, the next update should fix this. As it's in the early stage, there are some few bugs like this. But again, thanks for supporting this project.

Do you think for next update you can also add a way to add images? From what I've seen right now if I want to add an image only I have to cheat by using a button and use empty char in it then merge the colors with the background, unless there is a better method I haven't seen

@InfHorus The only way to add image is through label/button, still I can make a different widget but that will be same as the label one, just the text will be set to None.

Akascape commented 8 months ago

Second problem when "Fixing" a label it reset its font properties like the size

@InfHorus Same as I mentioned, if the font box is not closed manually, then the font is not saved in the properties. But fixed now.

InfHorus commented 8 months ago

Second problem when "Fixing" a label it reset its font properties like the size

@InfHorus Same as I mentioned, if the font box is not closed manually, then the font is not saved in the properties. But fixed now.

Very cool, thanks.

A few other issues:

Akascape commented 8 months ago

@InfHorus

When adding images through a label, after export to .py: only one image is saved in the code file, and the image does not load correctly as it does not appear at all when running the code

Similar like font box, if you don't close the image dialog box through the X button, then the changes are not saved internally. I guess you are directly closing the whole window by clicking outside the parameter window and that is causing that issue. But now it is fixed.

When adding images through a button, very often then the button becomes unusable as it can't be deleted, nor moved, nor edited through property, its like the button does not respond anymore to anything. For instance it occured mainly when making the image inside the button bigger to take the whole button space

That's a issue with customtkinter core library where the image part is not binded with the mouse clicks, but I will solve it for ctk designer.

Akascape commented 8 months ago

@InfHorus

First problem is when making a header for your app, then persisting it using Fix, all new item we spawn get spawned below that header so that makes it just unusable at all.

This issue is also fixed now, the widgets will not spawn below fixed widgets.

InfHorus commented 8 months ago

@InfHorus

First problem is when making a header for your app, then persisting it using Fix, all new item we spawn get spawned below that header so that makes it just unusable at all.

This issue is also fixed now, the widgets will not spawn below fixed widgets.

Thanks for all these fixes, the software will be so much better, do you have any specific date for a new release? I can also "beta test" if required

InfHorus commented 8 months ago

@InfHorus Thanks for reporting these bugs, the next update should fix this. As it's in the early stage, there are some few bugs like this. But again, thanks for supporting this project.

Do you think for next update you can also add a way to add images? From what I've seen right now if I want to add an image only I have to cheat by using a button and use empty char in it then merge the colors with the background, unless there is a better method I haven't seen

@InfHorus The only way to add image is through label/button, still I can make a different widget but that will be same as the label one, just the text will be set to None.

Maybe adding a canva for that could be cool? If i'm correct it allows to add image inside shapes so it would be useful in many scenario like for a user account image

Akascape commented 8 months ago

Maybe adding a canva for that could be cool? If i'm correct it allows to add image inside shapes so it would be useful in many scenario like for a user account image

@InfHorus

image Added a new widget called CTkDraw, we can adjust corner radius, width, height of the image directly. Even we can adjust blur, contrast, brightness... and even draw on top of the canvas with mouse.

InfHorus commented 8 months ago

Maybe adding a canva for that could be cool? If i'm correct it allows to add image inside shapes so it would be useful in many scenario like for a user account image

@InfHorus

image Added a new widget called CTkDraw, we can adjust corner radius, width, height of the image directly. Even we can adjust blur, contrast, brightness... and even draw on top of the canvas with mouse.

That's very cool good job, slowly slowly I think it will become one of the best gui maker

InfHorus commented 8 months ago

@InfHorus

First problem is when making a header for your app, then persisting it using Fix, all new item we spawn get spawned below that header so that makes it just unusable at all.

This issue is also fixed now, the widgets will not spawn below fixed widgets.

Some minor bugs/improvement possible:

InfHorus commented 8 months ago

@InfHorus

First problem is when making a header for your app, then persisting it using Fix, all new item we spawn get spawned below that header so that makes it just unusable at all.

This issue is also fixed now, the widgets will not spawn below fixed widgets.

Some minor bugs/improvement possible:

  • When using a label with ' like for example don't or other words, the code errors because it writes the text using single quote, switching to double quote " would tackle the issue
  • A way maybe to center an image in a button? As in we have left, right, top, bottom. not sure if its worth it for the moment as a bypass I just pass the arg text="" and put the image on right but it seem slightly off, not too sure

Also seen the next roadmap it's very good additions especially the tooltips! for future updates a treeview support would be a very nice addition as well

Akascape commented 8 months ago

@InfHorus Tooltip is ready, working on menu popup, 3 new widget added: ctkdraw, ctkgif and ctkvideo. plus all the issues you mentioned are almost fixed.

Will release the next version soon.

InfHorus commented 8 months ago

@InfHorus Tooltip is ready, working on menu popup, 3 new widget added: ctkdraw, ctkgif and ctkvideo. plus all the issues you mentioned are almost fixed.

Will release the next version soon.

Very great work, can't wait to test it out

Akascape commented 8 months ago

Very great work, can't wait to test it out

@InfHorus Version 4 is released!

InfHorus commented 8 months ago

Very great work, can't wait to test it out

@InfHorus Version 4 is released!

Cool! I will test it out for few hours and see how it goes, nice work man