Re: [E-devel] Trouble Displaying an Image inside of a Box

2015-03-09 Thread The Rasterman
On Mon, 9 Mar 2015 07:21:23 -0500 Jeff Hoogland  said:

> If size is always at a minimum why does my image display properly when I do
> a resize add to a window object? How does resize add affect the alignment
> size of an object?

size is not ALWAYS at minimim. it starts there - if the parent (container)
sizes up (can size up) then children will be rearranges based on hints - weight
and align. weight determins how much the space the child is in expands and
align dtermins alignment within that space OR if the object fills that space.

> On Mon, Mar 9, 2015 at 1:23 AM, Carsten Haitzler 
> wrote:
> 
> > On Sun, 8 Mar 2015 22:44:17 -0500 Jeff Hoogland 
> > said:
> >
> > > Issue was that I was not assigning a hint. Did not realize the size was
> > set
> > > to minimum when adding an object to a box, but not when resize adding to
> > a
> > > window.
> >
> > size is ALWAYS at minimum for that widget by default - always. until you
> > allow
> > it to expand and fill - some widgets will have a min size of 0x0 by nature
> > (using a table and item in same cell as a rect with a min size hint set on
> > it
> > trick can get you to add another min size in addition to the widgets
> > native min
> > size... even if 0x0)
> >
> > > On Sun, Mar 8, 2015 at 9:31 PM, Jeff Hoogland 
> > > wrote:
> > >
> > > > I'm sure I am missing something really simple here, but for whatever
> > > > reason this image refuses to display for me when I add it to a box.
> > > >
> > > > When I comment out the box code and add the image directly to the
> > window,
> > > > it displays properly. When I pack the image into the box and add the
> > box to
> > > > the window, no image is displayed.
> > > >
> > > > Source code:
> > > >
> > https://github.com/JeffHoogland/elm-tutorials/blob/master/tut2-displaying-images/ex4-displayselected.py
> > > >
> > > > Any idea what I am doing wrong?
> > > >
> > > > --
> > > > ~Jeff Hoogland 
> > > > My Projects on GitHub 
> > > >
> > > >
> > >
> > >
> > > --
> > > ~Jeff Hoogland 
> > > My Projects on GitHub 
> > >
> > --
> > > Dive into the World of Parallel Programming The Go Parallel Website,
> > sponsored
> > > by Intel and developed in partnership with Slashdot Media, is your hub
> > for all
> > > things parallel software development, from weekly thought leadership
> > blogs to
> > > news, videos, case studies, tutorials and more. Take a look and join the
> > > conversation now. http://goparallel.sourceforge.net/
> > > ___
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > - Codito, ergo sum - "I code, therefore I am" --
> > The Rasterman (Carsten Haitzler)ras...@rasterman.com
> >
> >
> 
> 
> -- 
> ~Jeff Hoogland 
> My Projects on GitHub 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Trouble Displaying an Image inside of a Box

2015-03-09 Thread Jeff Hoogland
No. The box and image both had weight set to EXPANDED. After adding the
image to the box I had to set the alignment of the image to FILL to be
displayed.

On Mon, Mar 9, 2015 at 8:18 AM, ChunEon Park  wrote:

> maybe your image had the weight set EXPANDED and box didn't?
>
> 
> -Regards, Hermet-
>
> -Original Message-
> From: "Jeff Hoogland"
> To: "Carsten Haitzler";
> Cc: "Enlightenment developer list"<
> enlightenment-devel@lists.sourceforge.net>;
> Sent: 2015-03-09 (월) 21:21:23
> Subject: Re: [E-devel] Trouble Displaying an Image inside of a Box
>
> If size is always at a minimum why does my image display properly when I do
> a resize add to a window object? How does resize add affect the alignment
> size of an object?
>
> On Mon, Mar 9, 2015 at 1:23 AM, Carsten Haitzler 
> wrote:
>
> > On Sun, 8 Mar 2015 22:44:17 -0500 Jeff Hoogland 
> > said:
> >
> > > Issue was that I was not assigning a hint. Did not realize the size was
> > set
> > > to minimum when adding an object to a box, but not when resize adding
> to
> > a
> > > window.
> >
> > size is ALWAYS at minimum for that widget by default - always. until you
> > allow
> > it to expand and fill - some widgets will have a min size of 0x0 by
> nature
> > (using a table and item in same cell as a rect with a min size hint set
> on
> > it
> > trick can get you to add another min size in addition to the widgets
> > native min
> > size... even if 0x0)
> >
> > > On Sun, Mar 8, 2015 at 9:31 PM, Jeff Hoogland 
> > > wrote:
> > >
> > > > I'm sure I am missing something really simple here, but for whatever
> > > > reason this image refuses to display for me when I add it to a box.
> > > >
> > > > When I comment out the box code and add the image directly to the
> > window,
> > > > it displays properly. When I pack the image into the box and add the
> > box to
> > > > the window, no image is displayed.
> > > >
> > > > Source code:
> > > >
> >
> https://github.com/JeffHoogland/elm-tutorials/blob/master/tut2-displaying-images/ex4-displayselected.py
> > > >
> > > > Any idea what I am doing wrong?
> > > >
> > > > --
> > > > ~Jeff Hoogland <http://jeffhoogland.com/>
> > > > My Projects on GitHub <https://github.com/JeffHoogland>
> > > >
> > > >
> > >
> > >
> > > --
> > > ~Jeff Hoogland <http://jeffhoogland.com/>
> > > My Projects on GitHub <https://github.com/JeffHoogland>
> > >
> >
> --
> > > Dive into the World of Parallel Programming The Go Parallel Website,
> > sponsored
> > > by Intel and developed in partnership with Slashdot Media, is your hub
> > for all
> > > things parallel software development, from weekly thought leadership
> > blogs to
> > > news, videos, case studies, tutorials and more. Take a look and join
> the
> > > conversation now. http://goparallel.sourceforge.net/
> > > ___
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > - Codito, ergo sum - "I code, therefore I am" --
> > The Rasterman (Carsten Haitzler)ras...@rasterman.com
> >
> >
>
>
> --
> ~Jeff Hoogland <http://jeffhoogland.com/>
> My Projects on GitHub <https://github.com/JeffHoogland>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> --
> Dive into the World of Parallel Programming The Go

Re: [E-devel] Trouble Displaying an Image inside of a Box

2015-03-09 Thread ChunEon Park
maybe your image had the weight set EXPANDED and box didn't?


-Regards, Hermet-

-Original Message-
From: "Jeff Hoogland" 
To: "Carsten Haitzler"; 
Cc: "Enlightenment developer list"; 
Sent: 2015-03-09 (월) 21:21:23
Subject: Re: [E-devel] Trouble Displaying an Image inside of a Box
 
If size is always at a minimum why does my image display properly when I do
a resize add to a window object? How does resize add affect the alignment
size of an object?

On Mon, Mar 9, 2015 at 1:23 AM, Carsten Haitzler 
wrote:

> On Sun, 8 Mar 2015 22:44:17 -0500 Jeff Hoogland 
> said:
>
> > Issue was that I was not assigning a hint. Did not realize the size was
> set
> > to minimum when adding an object to a box, but not when resize adding to
> a
> > window.
>
> size is ALWAYS at minimum for that widget by default - always. until you
> allow
> it to expand and fill - some widgets will have a min size of 0x0 by nature
> (using a table and item in same cell as a rect with a min size hint set on
> it
> trick can get you to add another min size in addition to the widgets
> native min
> size... even if 0x0)
>
> > On Sun, Mar 8, 2015 at 9:31 PM, Jeff Hoogland 
> > wrote:
> >
> > > I'm sure I am missing something really simple here, but for whatever
> > > reason this image refuses to display for me when I add it to a box.
> > >
> > > When I comment out the box code and add the image directly to the
> window,
> > > it displays properly. When I pack the image into the box and add the
> box to
> > > the window, no image is displayed.
> > >
> > > Source code:
> > >
> https://github.com/JeffHoogland/elm-tutorials/blob/master/tut2-displaying-images/ex4-displayselected.py
> > >
> > > Any idea what I am doing wrong?
> > >
> > > --
> > > ~Jeff Hoogland <http://jeffhoogland.com/>
> > > My Projects on GitHub <https://github.com/JeffHoogland>
> > >
> > >
> >
> >
> > --
> > ~Jeff Hoogland <http://jeffhoogland.com/>
> > My Projects on GitHub <https://github.com/JeffHoogland>
> >
> --
> > Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> > by Intel and developed in partnership with Slashdot Media, is your hub
> for all
> > things parallel software development, from weekly thought leadership
> blogs to
> > news, videos, case studies, tutorials and more. Take a look and join the
> > conversation now. http://goparallel.sourceforge.net/
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
>
>


-- 
~Jeff Hoogland <http://jeffhoogland.com/>
My Projects on GitHub <https://github.com/JeffHoogland>
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Trouble Displaying an Image inside of a Box

2015-03-09 Thread Jeff Hoogland
If size is always at a minimum why does my image display properly when I do
a resize add to a window object? How does resize add affect the alignment
size of an object?

On Mon, Mar 9, 2015 at 1:23 AM, Carsten Haitzler 
wrote:

> On Sun, 8 Mar 2015 22:44:17 -0500 Jeff Hoogland 
> said:
>
> > Issue was that I was not assigning a hint. Did not realize the size was
> set
> > to minimum when adding an object to a box, but not when resize adding to
> a
> > window.
>
> size is ALWAYS at minimum for that widget by default - always. until you
> allow
> it to expand and fill - some widgets will have a min size of 0x0 by nature
> (using a table and item in same cell as a rect with a min size hint set on
> it
> trick can get you to add another min size in addition to the widgets
> native min
> size... even if 0x0)
>
> > On Sun, Mar 8, 2015 at 9:31 PM, Jeff Hoogland 
> > wrote:
> >
> > > I'm sure I am missing something really simple here, but for whatever
> > > reason this image refuses to display for me when I add it to a box.
> > >
> > > When I comment out the box code and add the image directly to the
> window,
> > > it displays properly. When I pack the image into the box and add the
> box to
> > > the window, no image is displayed.
> > >
> > > Source code:
> > >
> https://github.com/JeffHoogland/elm-tutorials/blob/master/tut2-displaying-images/ex4-displayselected.py
> > >
> > > Any idea what I am doing wrong?
> > >
> > > --
> > > ~Jeff Hoogland 
> > > My Projects on GitHub 
> > >
> > >
> >
> >
> > --
> > ~Jeff Hoogland 
> > My Projects on GitHub 
> >
> --
> > Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> > by Intel and developed in partnership with Slashdot Media, is your hub
> for all
> > things parallel software development, from weekly thought leadership
> blogs to
> > news, videos, case studies, tutorials and more. Take a look and join the
> > conversation now. http://goparallel.sourceforge.net/
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
>
>


-- 
~Jeff Hoogland 
My Projects on GitHub 
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Trouble Displaying an Image inside of a Box

2015-03-08 Thread The Rasterman
On Sun, 8 Mar 2015 22:44:17 -0500 Jeff Hoogland  said:

> Issue was that I was not assigning a hint. Did not realize the size was set
> to minimum when adding an object to a box, but not when resize adding to a
> window.

size is ALWAYS at minimum for that widget by default - always. until you allow
it to expand and fill - some widgets will have a min size of 0x0 by nature
(using a table and item in same cell as a rect with a min size hint set on it
trick can get you to add another min size in addition to the widgets native min
size... even if 0x0)

> On Sun, Mar 8, 2015 at 9:31 PM, Jeff Hoogland 
> wrote:
> 
> > I'm sure I am missing something really simple here, but for whatever
> > reason this image refuses to display for me when I add it to a box.
> >
> > When I comment out the box code and add the image directly to the window,
> > it displays properly. When I pack the image into the box and add the box to
> > the window, no image is displayed.
> >
> > Source code:
> > https://github.com/JeffHoogland/elm-tutorials/blob/master/tut2-displaying-images/ex4-displayselected.py
> >
> > Any idea what I am doing wrong?
> >
> > --
> > ~Jeff Hoogland 
> > My Projects on GitHub 
> >
> >
> 
> 
> -- 
> ~Jeff Hoogland 
> My Projects on GitHub 
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Trouble Displaying an Image inside of a Box

2015-03-08 Thread Jeff Hoogland
Issue was that I was not assigning a hint. Did not realize the size was set
to minimum when adding an object to a box, but not when resize adding to a
window.

On Sun, Mar 8, 2015 at 9:31 PM, Jeff Hoogland 
wrote:

> I'm sure I am missing something really simple here, but for whatever
> reason this image refuses to display for me when I add it to a box.
>
> When I comment out the box code and add the image directly to the window,
> it displays properly. When I pack the image into the box and add the box to
> the window, no image is displayed.
>
> Source code:
> https://github.com/JeffHoogland/elm-tutorials/blob/master/tut2-displaying-images/ex4-displayselected.py
>
> Any idea what I am doing wrong?
>
> --
> ~Jeff Hoogland 
> My Projects on GitHub 
>
>


-- 
~Jeff Hoogland 
My Projects on GitHub 
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel