[GH-ISSUE #37] Is there a chance Upp support wxwidgets like sizers? #24

Open
opened 2026-05-05 03:34:36 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @ASHIT-AXAR on GitHub (Jul 10, 2021).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/37

Hello
i was thinking is there a chance upp support wxwidgets like sizers? vertical and horizontal stack panels ...
it's easier to work with and straightforward to figure out how the GUI will look like.
i know there is something implemented similar, (SizePos, HSizePos, VSizePos).
but i think wxwidgets sizers works easier. like you put a vertical container sizer, and just append the components to it without the need to figure out how it will look like.

Originally created by @ASHIT-AXAR on GitHub (Jul 10, 2021). Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/37 Hello i was thinking is there a chance upp support wxwidgets like sizers? vertical and horizontal stack panels ... it's easier to work with and straightforward to figure out how the GUI will look like. i know there is something implemented similar, (SizePos, HSizePos, VSizePos). but i think wxwidgets sizers works easier. like you put a vertical container sizer, and just append the components to it without the need to figure out how it will look like.
Author
Owner

@ismail-yilmaz commented on GitHub (Jul 10, 2021):

Assuming that you are talking about this: IMO they look reasoanble, and shouldn't be hard to implement in U++. Maybe I should start exploring and prototyping it for upphub (a TODO for 2022.1 release, at least)....

<!-- gh-comment-id:877615350 --> @ismail-yilmaz commented on GitHub (Jul 10, 2021): Assuming that you are talking about [this](https://docs.wxwidgets.org/3.0/overview_sizer.html): IMO they look reasoanble, and shouldn't be hard to implement in U++. Maybe I should start exploring and prototyping it for `upphub` (a TODO for 2022.1 release, at least)....
Author
Owner

@ASHIT-AXAR commented on GitHub (Jul 11, 2021):

that is promising. i'm looking forward.
i feel like the basic one (simple horizontal and vertical stack sizer) is the 90 % of the usage.
yasha san kishi

<!-- gh-comment-id:877750778 --> @ASHIT-AXAR commented on GitHub (Jul 11, 2021): that is promising. i'm looking forward. i feel like the basic one (simple horizontal and vertical stack sizer) is the 90 % of the usage. yasha san kishi
Author
Owner

@ismail-yilmaz commented on GitHub (Jul 13, 2021):

@ASHIT-AXAR
OK, I am adding this to my todo list for upphub. Hopefully the initial version will land in upphub (and upp-components repo, if you don't use TheIDE + upphub), around September 2021.

<!-- gh-comment-id:879400184 --> @ismail-yilmaz commented on GitHub (Jul 13, 2021): @ASHIT-AXAR OK, I am adding this to my todo list for `upphub`. Hopefully the initial version will land in upphub (and [upp-components ](https://github.com/ismail-yilmaz/upp-components)repo, if you don't use TheIDE + upphub), around September 2021.
Author
Owner

@mirek-fidler commented on GitHub (Jul 13, 2021):

Note: IMO using a class for this is not necessary. I would just create a
function to be put into Layout method...

On Tue, Jul 13, 2021 at 11:02 PM İsmail Yılmaz @.***>
wrote:

@ASHIT-AXAR https://github.com/ASHIT-AXAR
OK, I am adding this to my todo list for upphub. Hopefully the initial
version will land in upphub (and upp-components
https://github.com/ismail-yilmaz/upp-componentsrepo, if you don't use
TheIDE + upphub), around September 2021.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ultimatepp/ultimatepp/issues/37#issuecomment-879400184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARH2336EWA4GWHTHY4LQALTXSSXDANCNFSM5AEDESVQ
.

<!-- gh-comment-id:879449896 --> @mirek-fidler commented on GitHub (Jul 13, 2021): Note: IMO using a class for this is not necessary. I would just create a function to be put into Layout method... On Tue, Jul 13, 2021 at 11:02 PM İsmail Yılmaz ***@***.***> wrote: > @ASHIT-AXAR <https://github.com/ASHIT-AXAR> > OK, I am adding this to my todo list for upphub. Hopefully the initial > version will land in upphub (and upp-components > <https://github.com/ismail-yilmaz/upp-components>repo, if you don't use > TheIDE + upphub), around September 2021. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/ultimatepp/ultimatepp/issues/37#issuecomment-879400184>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AARH2336EWA4GWHTHY4LQALTXSSXDANCNFSM5AEDESVQ> > . >
Author
Owner

@ismail-yilmaz commented on GitHub (Jul 14, 2021):

@mirek-fidler ,

I am thinking of a middle ground here:

  • A standalone function (or functions) that can rearrange the layout of the child ctrls of any existing regular ctrl. This can be used as you've suggested.
  • A thin container ctrl -someting like ParentCtrl- using these functions, that can be visually represented in TheIDE's layout editor and that have some setters/getters to set or change its existing layout. IMO users in most cases probably prefer layout editor or a predefined Ctrl for less code. E.g., my autolayoutctrl.Vert() << my_button << my_array << my_richedit;

Note: IMO using a class for this is not necessary. I would just create a function to be put into Layout method...

On Tue, Jul 13, 2021 at 11:02 PM İsmail Yılmaz @.***> wrote: @ASHIT-AXAR https://github.com/ASHIT-AXAR OK, I am adding this to my todo list for upphub. Hopefully the initial version will land in upphub (and upp-components https://github.com/ismail-yilmaz/upp-componentsrepo, if you don't use TheIDE + upphub), around September 2021. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#37 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARH2336EWA4GWHTHY4LQALTXSSXDANCNFSM5AEDESVQ .

<!-- gh-comment-id:879624413 --> @ismail-yilmaz commented on GitHub (Jul 14, 2021): @mirek-fidler , I am thinking of a middle ground here: - A standalone function (or functions) that can rearrange the layout of the child ctrls of any existing regular ctrl. This can be used as you've suggested. - A thin container ctrl -someting like ParentCtrl- using these functions, that can be visually represented in TheIDE's layout editor and that have some setters/getters to set or change its existing layout. IMO users in most cases probably prefer layout editor or a predefined Ctrl for less code. E.g., `my autolayoutctrl.Vert() << my_button << my_array << my_richedit;` > Note: IMO using a class for this is not necessary. I would just create a function to be put into Layout method... > […](#) > On Tue, Jul 13, 2021 at 11:02 PM İsmail Yılmaz ***@***.***> wrote: @ASHIT-AXAR <https://github.com/ASHIT-AXAR> OK, I am adding this to my todo list for upphub. Hopefully the initial version will land in upphub (and upp-components <https://github.com/ismail-yilmaz/upp-components>repo, if you don't use TheIDE + upphub), around September 2021. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <[#37 (comment)](https://github.com/ultimatepp/ultimatepp/issues/37#issuecomment-879400184)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AARH2336EWA4GWHTHY4LQALTXSSXDANCNFSM5AEDESVQ> .
Author
Owner

@ASHIT-AXAR commented on GitHub (Mar 9, 2023):

  • A thin container ctrl -someting like ParentCtrl- using these functions, that can be visually represented in TheIDE's layout editor and that have some setters/getters to set or change its existing layout. IMO users in most cases probably prefer layout editor or a predefined Ctrl for less code. E.g., my autolayoutctrl.Vert() << my_button << my_array << my_richedit;

Yes.

<!-- gh-comment-id:1462348018 --> @ASHIT-AXAR commented on GitHub (Mar 9, 2023): > * A thin container ctrl -someting like ParentCtrl- using these functions, that can be visually represented in TheIDE's layout editor and that have some setters/getters to set or change its existing layout. IMO users in most cases probably prefer layout editor or a predefined Ctrl for less code. E.g., `my autolayoutctrl.Vert() << my_button << my_array << my_richedit;` > Yes.
Author
Owner

@ASHIT-AXAR commented on GitHub (Mar 10, 2023):

Any news ?

<!-- gh-comment-id:1463697199 --> @ASHIT-AXAR commented on GitHub (Mar 10, 2023): Any news ?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#24
No description provided.