Thanks a lot, I closed the ticket as invalid. Cheers! Xavi On Tue, 28 Aug 2018 at 19:34, Davide Andreoli <d...@gurumeditation.it> wrote:
> 2018-08-28 14:06 GMT+02:00 Xavi Artigas <xavierarti...@gmail.com>: > > > With clouseau I see that the text widget is very tall, so it could not > > align even if it wanted. > > > > Anyway, herdsman asked me to create a ticket, so here it is: > > https://phab.enlightenment.org/T7352 > > > > Thanks! > > Xavi > > > > On Tue, 28 Aug 2018 at 13:45, Hermet Park <hermetp...@gmail.com> wrote: > > > > > 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? > > > > Because size_hints act on the whole text object, not the text content. > > To align the text you need to use the text api: > efl_text_valign_set(obj, 0.5) > > Explained a bit more in detail on T7352 > > cheers > > > > > > > > > > > > > > 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 > > > > > ------------------------------------------------------------ > > ------------------ > > 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