Hi Antonio,

that didn't help. The result is the same. Somehow the SPACING is not included in the size computations for the normalization.

Regards
Mihail

On 7/23/2015 16:00, Antonio Scuri wrote:

  Hi,

(This is the follow up of what we had off-list, SourceForge is back online, but SVN is still offline)

Notice that NORMALIZESIZE="HORIZONTAL" will use the reference line for the sizes. But Pause/Resume is smaller than Connect/Disconnect. And using it together with a normalizer could have undesired effects.

If you comment NORMALIZESIZE="HORIZONTAL", and leave only the normalizer. What's the result?

Best,
Scuri

On Tue, Jul 21, 2015 at 4:02 PM, Mihail Ivanchev <mihai...@gmail.com <mailto:mihai...@gmail.com>> wrote:

    I have a .led file. The relevant portions are:

    pauseBtn = BUTTON[PADDING="2x2", SPACING=4]("&Pause", null)
    resumeBtn = BUTTON[PADDING="2x2", SPACING=4]("&Resume", null)
    connectBtn = BUTTON[PADDING="2x2"]("&Connect", null)
    disconnectBtn = BUTTON[PADDING="2x2"]("&Disconnect", null)

    GRIDBOX[MARGIN="0x10", GAPCOL=7, NUMDIV=2,
    NORMALIZESIZE="HORIZONTAL"](
      ZBOX[EXPAND="YES"](pauseBtn, resumeBtn),
      ZBOX[EXPAND="YES"](connectBtn, disconnectBtn),
      NORMALIZER[NORMALIZE="BOTH"](pauseBtn, resumeBtn, connectBtn,
    disconnectBtn)
    )

    Regards


    On 7/21/2015 20:49, Antonio Scuri wrote:
      Ok. So the problem is at the normalization, not at the button
    calc size.

      Now, how are you doing the normalization?

    Best,
    Scuri


    On Tue, Jul 21, 2015 at 3:27 PM, Mihail Ivanchev
    <mihai...@gmail.com <mailto:mihai...@gmail.com>> wrote:

        Seems to work without the normalization...

        Regards


        On 7/21/2015 20:18, Antonio Scuri wrote:
          If you don't normalize, what's the result?

        Best,
        Scuri


        On Tue, Jul 21, 2015 at 3:16 PM, Mihail Ivanchev
        <mihai...@gmail.com <mailto:mihai...@gmail.com>> wrote:

            Both TITLE and IMAGE ;) See the screenshot. I am
            normalizing the width and height of both buttons.


            On 7/21/2015 20:09, Antonio Scuri wrote:
              Hi,

             SPACING is only included in button natural size if
            both TITLE and IMAGE are defined. Which other
            attributes are you using?

            Best,
            Scuri


            On Tue, Jul 21, 2015 at 2:41 PM, Mihail Ivanchev
            <mihai...@gmail.com <mailto:mihai...@gmail.com>>wrote:

                Yes I read the feeds with the technical trouble but
                it sounded like they've resolved it meanwhile...
                anyhow, here's a paste of the last mail :)

                Subject: Button's SPACING doesn't seem to be
                included in the size computation

                Evening List,

                I just created 2 buttons normalized vertically and
                horizontally. One of
                them includes an image and some SPACING, the second
                only text. The
                amount of SPACING doesn't seem to influence the
                button's size though so
                the contents are clipped out at the edges. I can
                provide a screenshot if
                necessary, but perhaps the description is enough to
                spot the (potential)
                bug.

                Regards
                Mihail

                On 7/21/2015 19:39, Antonio Scuri wrote:

                The whole SourceForge is dead since last Thursday.
                They are back in parts since Sunday. I guess the
                list is still offline, SVN is certainly offline...

                You may report directly to me meanwhile. I like
                the reports to be done to the list so they got
                saved and shared.

                Best,
                Scuri

                Em 21/07/2015 14:32, "Mihail Ivanchev"
                <mihai...@gmail.com <mailto:mihai...@gmail.com>>
                escreveu:

                    Hi Antonio,

                    I am trying to report an IUP bug for 3 days
                    now and keep getting mail daemon
                    notifications... could it be the SF mailing
                    list is dead?

                    Regards
                    Mihail









On Tue, Jul 21, 2015 at 3:57 AM, Mihail Ivanchev <mihai...@gmail.com <mailto:mihai...@gmail.com>> wrote:


    Evening List,

    I just created 2 buttons normalized vertically and horizontally.
    One of
    them includes an image and some SPACING, the second only text. The
    amount of SPACING doesn't seem to influence the button's size
    though so
    the contents are clipped out at the edges. I can provide a
    screenshot if
    necessary, but perhaps the description is enough to spot the
    (potential)
    bug.

    Regards
    Mihail


    
------------------------------------------------------------------------------
    Don't Limit Your Business. Reach for the Cloud.
    GigeNET's Cloud Solutions provide you with the tools and support that
    you need to offload your IT needs and focus on growing your business.
    Configured For All Businesses. Start Your Cloud Today.
    https://www.gigenetcloud.com/
    _______________________________________________
    Iup-users mailing list
    Iup-users@lists.sourceforge.net
    <mailto:Iup-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/iup-users




------------------------------------------------------------------------------


_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to