Oh

I am like the fourth person trying to fix the codebase. Yes the show before
pack
ran some warnings in my head as from PyQT experience this is also wrong.

As for others i kind of have no clue as i am the most newbie person on
python-efl
right now. I think we'll have to just rebuild that part. Thanks a lot for
your insights.
We kind of needed this to get a clear idea on the direction to take on this
and some
other apps.

We were kind of reluctant to go for a rewrite but considering the
manageable complexity
and total size of the codebase we'll go for it.

I'll also take this as an opportunity to document python-efl better. And
like learn stuffs
from scratch.

Thanks a lot for your comment, it's kind of a pivotal moment.

Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius


On Sat, Nov 6, 2021 at 2:19 PM Carsten Haitzler <[email protected]>
wrote:

> On Sat, 6 Nov 2021 00:47:05 +0400 Abdur-Rahmaan Janhangeer
> <[email protected]> said:
>
> reading some of the code i already see some weird things:
>
> for the header you add buttons and you put labels in the buttons... buttons
> already have their own labels - why are you putting a label inside the
> button?
>
> you pack the panel in the scroller with eight of expand both horiz and
> vert -
> you do not want that. you want vertical weight to not expand and then
> alignment
> for vertical be 0 (top) so the content of the scroller when smaller than
> the
> scroller will be packed at minimum size at the top of the scroller and not
> expand to fill the viewport of the scroller.
>
> i can't find where you specifically size the contents of the scroller - i
> assume you use a vertical box? a horiz box per row? how do you ensure the
> sizing of columns matches the header than you can resize with panes?
>
> i have noticed bad thing slike you show objects BEFORE you pack them into a
> parent - this is a great way to make things very slow as you show an
> object -
> it appears at 0,0 by default... and may now be accepting events and calling
> callbacks like mouse,in if the pointer is at 0,0 which is where it is by
> default before the first mouse events happen on a window - that means efl
> will
> process mouse in and out events and do things... THEN you pack the child
> into a
> parent which then takes control of visibility etc. ... you pack first then
> show.
>
> so i can't manage to divine how you've done the content. i suspect it may
> have
> to do with using panes as they won't by default enforce a min size based on
> content. drop the panes in the content...
>
>
> > Greetings list,
> >
> > I have been trying to fix:
> >
> > https://github.com/Abdur-rahmaanJ/Exterminator
> >
> > now i got the scrollbar to show but but i cannot find why the
> > list does not scroll
> >
> > i spent some hours on it
> >
> > here is a screenshot of how it looks now:
> >
> >
> https://media.discordapp.net/attachments/890990543516074078/906237765321109545/exterminator.png
> >
> > child size gives
> >
> > (781, 319)
> >
> > I guess the scrollbar is big and not small as the list size does not fit
> > into the
> > window
> >
> > I wonder why the list is not auto fitting. Even if window maximised, the
> > non-scrolling, in gracious greatness of the EFL spirits scales and does
> > not scroll.
> >
> > Thanks in advance!
> >
> > Kind Regards,
> >
> > Abdur-Rahmaan Janhangeer
> > about <https://compileralchemy.github.io/> | blog
> > <https://www.pythonkitchen.com>
> > github <https://github.com/Abdur-RahmaanJ>
> > Mauritius
> >
> > _______________________________________________
> > enlightenment-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> Carsten Haitzler - [email protected]
>
>

_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to