5 Replies Latest reply on Mar 3, 2004 10:50 AM by g00se

    Avoiding  Horizantal Scroll bar(1024X768)

    srmarreddy Newbie

      Hi,
      I noticed that even for 1024X768 screen resolution iam getting Horizantal Scrollbar when viewing some pages in JBOSS. Since this is developed with Nukes iam wondering if there is a fix for this problem. I know this is still in testing phase but if you provide a fix for this ,the site looks more professional.

      Thanks
      Srini.

        • 1. Re: Avoiding  Horizantal Scroll bar(1024X768)
          Viet Master

          Unfortunately this come from the theme design and not from nukes itself. Usually when I touch the website HTML it becomes unviewable under IEx so I avoid doing that.

          • 2. Re: Avoiding  Horizantal Scroll bar(1024X768)
            g00se Newbie

            I'm just about to start learning Nukes. Maybe i should make this my first task to try to fix this? LOL

            I noticed that in some of the sample code that there were hard-coded print statements emitting html. Is there a general strategy for avoiding this that can be used that is compatible with Nukes?

            • 3. Re: Avoiding  Horizantal Scroll bar(1024X768)
              Howard Pearlmutter Novice

              g00se -- check out the work on "Templates" -- see

              http://jboss.org/wiki/Wiki.jsp?page=TemplateTutorial

              and also learn about "Themes".... read the code:

              org.jboss.nukes.core.themes.*
              in nukes/src/main


              -------


              srmarreddy -- the horizontal scroll bar will go away when you widen your window sufficiently. Go into a 1280x1024 mode, and play with resizing your window, and you'll see it appear and disappear. This is a feature, not a bug.

              OTOH, if you really do want to have a presentation tuned for lower resolution displays, then it really is a matter of designing and implementing a new "theme" for that purpose.

              But say you want to have access to the same information that Nukes provides, but display it within a 320x320 region (such as a PDA screen) without horizontal scrolling. Then you would really want to rethink layout issues! This is an example of where you might have to go beneath the "Theme" support...

              In general, Nukes is currently tuned for displays used by professional developers, who tend to have hi res screens. If you want to tune for lower resolutions, how about helping write some new themes?

              • 4. Re: Avoiding  Horizantal Scroll bar(1024X768)
                srmarreddy Newbie

                 

                "hxp" wrote:
                g00se -- check out the work on "Templates" -- see

                http://jboss.org/wiki/Wiki.jsp?page=TemplateTutorial

                and also learn about "Themes".... read the code:

                org.jboss.nukes.core.themes.*
                in nukes/src/main


                -------


                srmarreddy -- the horizontal scroll bar will go away when you widen your window sufficiently. Go into a 1280x1024 mode, and play with resizing your window, and you'll see it appear and disappear. This is a feature, not a bug.

                OTOH, if you really do want to have a presentation tuned for lower resolution displays, then it really is a matter of designing and implementing a new "theme" for that purpose.

                But say you want to have access to the same information that Nukes provides, but display it within a 320x320 region (such as a PDA screen) without horizontal scrolling. Then you would really want to rethink layout issues! This is an example of where you might have to go beneath the "Theme" support...

                In general, Nukes is currently tuned for displays used by professional developers, who tend to have hi res screens. If you want to tune for lower resolutions, how about helping write some new themes?


                Iam trying to learn the Nukes architecture. Once iam familier with it i like to write nice themes and a module( Classifieds). i thought of developing Classifieds in struts for my website but now i dropped the plan and thinking of writing it as module in nukes.Anyway thanks for the Info.

                Srini.


                • 5. Re: Avoiding  Horizantal Scroll bar(1024X768)
                  g00se Newbie

                   

                  g00se -- check out the work on "Templates" -- see...


                  Thanks - ill do that. I also, being a newbie, need to check out the interface between JBoss and its related web app container. Any suggestions as to the best way to do that?