sounds like label logically doesn't care the height alignment in this case.

On Tue, Aug 28, 2018 at 6:15 PM Xavi Artigas <xavierarti...@gmail.com>
wrote:

> Hi,
>
> Setting Scrollable to false didn't make any difference.
> In clouseau I see the text widget has the right width and it's centered,
> but it takes up all available vertical space, even though its size hint is
> correct:
> [image: image.png]
>
> On Tue, 28 Aug 2018 at 10:11, Marcel Hollerbach <m...@bu5hm4n.de> wrote:
>
> > Hi!
> >
> > The problem here is that the text container expands itself to the full
> > height, i think this is caused by the fact that the text is scrollable
> > and thus just takes the whole height by default. Can you make it NOT
> > scrollable ?
> >
> > In case of problems like this, try to take clouseau and observe the
> > geometry of the object you are observing. Additionally you can take a
> > look at the min szite hints align etc. etc. :)
> >
> > Greetings,
> >     bu5hm4n
> >
> > On 8/27/18 3:09 PM, Xavi Artigas wrote:
> > > Hi!
> > >
> > > I am looking ar the Hello World tutorial and I have questions regarding
> > > widget alignment,
> > >
> > > This code:
> > >
> >
> https://git.enlightenment.org/tools/examples.git/tree/tutorial/c/hello-gui/src/gui_main.c
> > > Creates a window with a vertical box container, which contains a text
> > > widget and a button.
> > > The text label has this alignment:
> > >
> > > efl_gfx_size_hint_align_set(efl_added, 0.5, 0.5),
> > >
> > > So, why is the text string aligned horizontally but not vertically?
> > >
> > > Thanks!
> > > Xavi
> > > p.s. I already looked at
> > > https://phab.enlightenment.org/w/size_hints/
> > > Although funny, it wasn't very enlightening.
> > > Any other sources of wisdom?
> > >
> >
> ------------------------------------------------------------------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > _______________________________________________
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


-- 
Regards, Hermet
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to