Extra Pixel Between TabBar and ViewStack

I have a  TabBar inside an HBox, becuase I want to disply  other things to the left and right of  the TabBar.  I'm stacking the HBox  over a ViewStack buy putting  both in a  VBox, and setting the VBox "verticalGap"  to  "0".  It almost works as expected, but I get an extra pixel of "HBox" showing through between the TabBar and the ViewStack.  I've tried setting borders and padding to 0, but to no avail.
Any  help  on how to get  rid of  the extra pixel, or info on where it's even coming from, would be much apprerciated.
The folloing tiny application demonstrates the problem  (I know it's  ugly;   it's supposed to be so that it clearly  demonstrates  the problem):
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Style>
        TabBar.testTabBarStyle{backgroundColor: #FFCC00; tabStyleName: tabBarTab;}
        .tabBarTab{fillColors: #FF0000, #0000FF;}
    </mx:Style>
    <mx:VBox x="10" y="10" width="343" height="200" verticalGap="0" backgroundColor="#FF0096">
        <mx:HBox width="100%">
            <mx:Label text="Stuff Above TabBar/ViewStack Control"/>
        </mx:HBox>
        <mx:HBox width="100%" backgroundColor="#00FF00" borderThickness="0" paddingBottom="0">
            <mx:Label text="Stuff Left"/>
            <mx:TabBar width="75%" dataProvider="viewstack1" styleName="testTabBarStyle" paddingBottom="0"/>
            <mx:Label text="Stuff Right"/>
        </mx:HBox>
        <mx:ViewStack id="viewstack1" width="100%" height="80%" backgroundColor="#FFCC00">
            <mx:Canvas label="Tab1" width="100%" height="100%">
                <mx:Label text="Veiw1 - Annoying green pixel above --^"/>
            </mx:Canvas>
            <mx:Canvas label="Tab2" width="100%" height="100%">
                <mx:Label text="Veiw2 - Annoying green pixel above --^"/>
            </mx:Canvas>
            <mx:Canvas label="Tab3" width="100%" height="100%">
                <mx:Label text="Veiw3 - Annoying green pixel above --^"/>
            </mx:Canvas>
        </mx:ViewStack>
        <mx:HBox width="100%">
            <mx:Label text="Stuff Below  TabBar/ViewStack Control"/>
        </mx:HBox>
    </mx:VBox>
</mx:Application>

Hi Aman,
I don't think that will resolve the issue and also for the bottom we need to specify an integer which is in pixels we should not specify string ..none.
The issue will be resolved simply by setting the VBox vertigalGap to negative value...vertigalGap="-2"
Thanks,
Bhasker

Similar Messages

  • There is a small white light in the retina display on my ipad 3. Is this a dead pixel/light leak and how do I fix it? (Located at the bottom left side between home button and left corner)

    There is a small white light in the retina display on my ipad 3. Is this a dead pixel/light leak and how do I fix it? (Located at the bottom left side between home button and left corner)

    Maybe this will show up better in green.

  • Too many pixels distance between iview and Desktop Innerpage

    Hi,
    how can I configure the distance in pixels between iviews on a page and the desktop innerpage? In my case, the distance is around 20 pixels from iView tray to TLN. Anyone?
    Bye
    Christoph

    Yikes! Sounds like your computer is having a difficult time rendering the icons. Fortunately there are steps you can take.
    If it were me, I'd boot into Single User Mode (power off, power on, then hold Command + S till you see white on black text).
    I'm making a couple of assumptions here. The first is that you want to delete all these RAR files for good. The second is that these files are all named similarly, something like rar1, rar2, rar3, etc.
    Then type the following:
    /sbin/mount -uw /
    cd /Users/yourusername/Desktop
    rm -rf rarname* (NOTE: here, this is assuming all the files start with something similar, like 'rarname', and then have a number on the end. By using the wildcard (*), we don't have to type each filename, as 'rarname*' applies to every file on the Desktop that starts with 'rarname'. Hopefully that makes sense! Just replace 'rarname' with whatever the files start with. If you aren't sure, before this command, type 'ls' and you'll get a list of all the files on the Desktop.)
    This should permanently delete all the files on the desktop. You can then type 'reboot' and the computer will start up normally. Good luck! If anything is unclear, feel free to let me know before attempting this.

  • Extra pixel of space

    Good afternoon all,
    Im working on a new design which Im having a bit of problem
    with an extra
    pixel of space showing between the bottom of the main images
    and the white
    bottom border. This is only happening in IE (7) so far, it
    doesnt do it in
    FF.
    Ive been searching for the answer for a while, but I give up
    - does anyone
    have the time to look for me and see if they can shed some
    light.
    Thankyou for your help
    Fiona

    Thanks for your help Murray and Josie, I really appreciate
    your time.
    I removed the extra spacing in the code, but alas, it stays
    the same.
    Ill keep searching and see if anything comes to light,
    otherewise, Ill have
    to rethink how Ive done the layout, as the owners of this
    site are picky,
    picky, picky and probably using IE7.
    I think Ill try adding the white border to the bottom of the
    middle section
    instead of top of bottom section and see if that works.
    Regards
    Fiona
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Try changing this -
    >
    > <div id="changeframe"><img
    > src="
    http://www.fionahayward.com/delavega/images/home/grid.jpg"
    > width="578" height="455" />
    >
    > </div><!--endchangeframe-->
    >
    > </div><!--endcontent-->
    >
    > </div><!--endmainbody-->
    >
    >
    > to this -
    >
    > <div id="changeframe"><img
    > src="
    http://www.fionahayward.com/delavega/images/home/grid.jpg"
    > width="578" height="455" />
    > </div><!--endchangeframe-->
    > </div><!--endcontent-->
    > </div><!--endmainbody-->
    >
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "Fiona" <[email protected]> wrote in message
    > news:[email protected]...
    >> ooops, how silly....
    >>
    >>
    http://www.fionahayward.com/delavega/index.html
    >>
    >> Sorry,
    >> Fiona
    >>
    >> "josie1one" <[email protected]> wrote
    in message
    >> news:[email protected]...
    >>> >look for me
    >>>
    >>> <searching> where? (o:
    >>>
    >>> --
    >>> Jo
    >>>
    >>>
    >>> "Fiona" <[email protected]> wrote in
    message
    >>> news:[email protected]...
    >>>> Good afternoon all,
    >>>>
    >>>> Im working on a new design which Im having a
    bit of problem with an
    >>>> extra pixel of space showing between the
    bottom of the main images and
    >>>> the white bottom border. This is only
    happening in IE (7) so far, it
    >>>> doesnt do it in FF.
    >>>>
    >>>> Ive been searching for the answer for a
    while, but I give up - does
    >>>> anyone have the time to look for me and see
    if they can shed some
    >>>> light.
    >>>>
    >>>> Thankyou for your help
    >>>>
    >>>> Fiona
    >>>>
    >>>
    >>>
    >>
    >>
    >

  • What's difference between ASC and DESC index

    1 select count(*)
    2* from big_emp e where hiredate >= to_date('1980-01-01', 'YYYY-MM-DD') and hiredate <= to_date('1983-12-31', 'YYYY-MM-DD')
    COUNT(*)
    11971
    SQL> create index i_big_emp_hiredate on big_emp(hiredate);
    Index created.
    SQL> set autot trace
    SQL> select empno, ename, hiredate
    2 from big_emp e where hiredate >= to_date('1980-01-01', 'YYYY-MM-DD') and hiredate <= to_date('1983-12-31', 'YYYY-MM-DD') ;
    11971 rows selected.
    Execution Plan
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 11766 | 218K| 19 |
    |* 1 | TABLE ACCESS FULL| BIG_EMP | 11766 | 218K| 19 |
    SQL> drop index i_big_emp_hiredate;
    Index dropped.
    SQL> create index i_big_emp_hiredate on big_emp(hiredate desc);
    Index created.
    SQL> select empno, ename, hiredate
    2 from big_emp e where hiredate >= to_date('1980-01-01', 'YYYY-MM-DD') and hiredate <= to_date('1983-12-31', 'YYYY-MM-DD') ;
    11971 rows selected.
    Execution Plan
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 29 | 551 | 4 |
    | 1 | TABLE ACCESS BY INDEX ROWID| BIG_EMP | 29 | 551 | 4 |
    |* 2 | INDEX RANGE SCAN | I_BIG_EMP_HIREDATE | 53 | | 2 |
    i have 2 questions
    1. In "Expert one-on-one Oracle", Tom said, there is no deference between ASC and DESC index in case of one column because Oracle can just read in reverse order. but my test made me confused. why Oracle did "full table scan" only in ASC index???
    2. using "set autot trace" command. i believed the the "Rows" column mean the rows that Oracle access. Can you explain why the rows are 29(DESC) and 11766(ASC) in spite of the result is 11971. what is the exact meaning of "Rows" column in execution plan

    I think what you're seeing is a bug in the optimizer. If you had printed up the predicate section of the execution plan, this would be more obvious. I have the query:
    select *
    from   t1
    where  d1 between to_date('01-jan-2001')
              and     to_date('31-dec-2003')
    ;This returns one row per day for 3 years, and when a normal index is created on it, the optimizer calculates the correct cardinality and uses a sensible set of predicates. But when I use a descending index, this is what I get:
    Execution Plan
    Plan hash value: 1429545322
    | Id  | Operation                   | Name  | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT            |       |  1097 | 21940 |     2 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T1    |  1097 | 21940 |     2 |
    |*  2 |   INDEX RANGE SCAN          | T1_I1 |     5 |       |     2 |
    Predicate Information (identified by operation id):
       2 - access(SYS_OP_DESCEND("D1")>=HEXTORAW('8798F3E0FEF8FEFAFF')  AND
                  SYS_OP_DESCEND("D1")<=HEXTORAW('879AFEF8FEF8FEFAFF') )
           filter(SYS_OP_UNDESCEND(SYS_OP_DESCEND("D1"))>=TO_DATE('2001-01-0
                  1 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND
                  SYS_OP_UNDESCEND(SYS_OP_DESCEND("D1"))<=TO_DATE('2003-12-31 00:00:00',
                  'yyyy-mm-dd hh24:mi:ss'))Note the introduction of the strange sys_op_descend() function - which is related to the descending index implemention, and the extra FILTER predicates which introduce a significant extra selectivity effect. The optimizer is double-counting on selectivity effects, and introducing extra factors of 1% and 5% (I haven't checked exact details) due to the functions applied to columns and the range-based predicates.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • What is the diffrence between PGA and UGA?

    Hi All
    Just one question
    "What is the diffrence between PGA and UGA?"
    Thanks

    PGA Memory
    The Program Global Area (PGA) is a memory region that contains data and control information for a single process (server or background). The PGA is made up of the following:
    Stack Space
    A PGA always contains a stack space, which is memory allocated to hold a session's variables, arrays, and other information.
    Session Information - (UGA)
    A PGA in an instance running without the multi-threaded server (named Shared Server in Oracle9i) requires additional memory for the user's session, such as private SQL areas and other information. If the instance is running the multi-threaded server, this extra memory is not in the PGA, but is instead allocated in the SGA (the Shared Pool).
    Shared SQL Areas
    Shared SQL areas are always in shared memory areas of the SGA (not the PGA), with or without the multi-threaded server.
    Non-shared and Writable
    The PGA is a non-shared memory area to which a process can write. One PGA is allocated for each server process; the PGA is exclusive to a server process and is read and written only by Oracle code acting on behalf of that process.
    UGA Memory
    The UGA, or User Global Area, is allocated in the PGA for each session connected to Oracle in a dedicated server environment. The PGA is memory allocated at the client to hold a stack which contains all of the session's variables, etc. In a Shared Server environment, Oracle allocates this memory in the Shapred Pool (the shared pool is contained in the SGA), for all sessions. This helps to reduce the PGA (client) memory footprint of Oracle, but will increase the SGA (shared pool) requirements.

  • Choosing between 720p and 1080p on Mini connected to Sony HDTV (1920x1080)

    I have a late 2009 Mac Mini and a SONY HDTV and had no difficulties at all in hooking them up. I just connected the Mini Display Port to DVI connector which ships with the MAC Mini to a Belkin DVI to HDMI cable (also available from Apple Store) and connected the HDMI to my TV. I switched on the TV, selected the correct HDMI input, then switched on the Mac Mini and could see the picture immediately. I was missing the menu bar at the top so went to SYSTEM PREFERENCES and then DISPLAYS and the OPTIONS tab, and unselected OVERSCAN, and that gave me a perfect picture (slightly smaller than full screen but perfectly adequate as far as I'm concerned).
    By default my resoluton was set at 1080p (presumably the Mac detected that the native resolution of my TV is 1080p). The DISPLAYS box shows a number of resolution with a little TV screen icon beside them, as if suggesting those resolutions for use with the Sony. It shows 480i, 480p, 720p, 1080i and 1080p. There are also lots of others without TV icons beside them.
    The only problem I found is that 1080p made it quite difficult to read text on my screen, even though it's not very far away from the sofa. My eyesight is very good but I couldn't read the screen comfortably when surfing the net or even when changing settings etc. I swiiched, therefore, to 720p and this produces a very comfortable size of text for using the MAC.
    My question is whether it really makes such a big difference whether one chooses 720p or 1080p, as I really can't see much difference for playback of video from Hulu or other streaming websites. Even when I played a DVD movie from the Mac Mini superdrive, the difference in quality was hard to detect. I guess if I tried viewing Full 1080p HD material, there would be some difference, but how much of such material is available on the net anyway? I take it that switching between 720p and 1080p wouldn't cause any harm, if I chose to do so occasionally for watching any Full HD movies that I rip?
    Look forward to hearing views!

    Hi- I also picked up a mini a week ago, and have it hooked up to my Sony HDTV via HDMI, just as you. The same thing happened the first time I connected the mini to my tv- with overscan on, the top and bottom of the screen were cut off.
    The solution is to pick up your Sony remote, go to the onscreen menus, and make sure that 'full pixels' option is selected. When you do, the screen will be absolutely perfectly aligned.
    I mention this because while in overscan mode, I find that the Sony makes an absolutely beautiful screen, and text is quite easy to read, albeit a bit small.

  • Screen flashing between grey and background, dock not showing

    I don't know how this happened, but I recently upgraded to Mountain Lion: as soon as I'd logged in, the Dock dissapeared, and the background started flashing between grey and my background. The only way for me to open anything is through Spotlight.
    Whenever I try to make an app fullscreen, it glitches halfway through: half the screen is grey, and half the screen flashing. Opening Notification Centre flashes between grey and open and background and closed. Mission Control won't open, and CMD-tab fails to do anything.
    Upon inspection in Activity Monitor, there is an abnormal amount of processes named "com.apple.dock.extra": closing them does nothing. One process exists and then doesn't in time to the background flash, and the amount of "dock.extra"s grows and shrinks from 3 to 10.
    Can anyone help me with this strange problem?

    Open Spotlight and type Terminal. Select the Terminal application.
    Type 'sudo rm -rf ~/Library/Dock'. Ensure it looks exactly like that (minus the quotes) and hit enter. Type your password if you have one. Then, type the command 'killall Dock' and hit enter. The dock will terminate and restart, and it will hopefully be returned to its previous state.

  • Difference between diadem and LabVIEW Report Generation Toolkit

    I want to expand LabVIEW's reporting capabilities.  Can someone tell me what the difference is between DIAdem and the LabVIEW Report Generation Toolkit for Microsoft Office.

    Hello Mr Bean,
    There are several major differences between the two solutions. I'll try and outline them as good as I can ...
    The biggest different is that LabVIEW and its toolkits are programming tools and DIAdem is a ready to run application.
    The LabVIEW Report Generation Toolkit basically provides an extensive library of VIs that allow you to connect LabVIEW to the MS Office library and create and edit reports in Word and Excel.
    DIAdem is a stand alone application that was designed to post-process data from various sources. The tools included in DIAdem are:
    1. NAVIGATOR: Allows you to import data from files (ASCII, binary, Excel, etc.) as well as DataBases (SQL/ODBC, Citadel, ASAM, etc.). The unique DataPlugin technology available within DIAdem allows you to import vitually and data file by creating a DataPlugin that describes the data format and gets linked to DIAdem. More information at: http://www.ni.com/diadem/dataplugins.htm
    2. VIEW: Graphical and Numerical data inspection tool. Use cursors to zoom and scroll through your data, edit your data graphically and numerically and compare different tests.
    3. ANALYSIS: DIAdem has a wide range of analysis functions, ranging from simple functions like integration and differentiation to FFTs, Order analysis and 3D data analysis.
    4. REPORT: The DIAdem REPORT tool allows you to create reusable report layouts that can contain multiple axis systems (2D, 3D and polar plots) as well as tables (2D and 3D) and variables. The REPORT tool generates templates that can be usedwith multiple data sets due to the inclusion of automatic (or manula if required) scaling as well as extensive use of variables for annotations. Finished reports can be exported to printers, graphics files, the Windows Clipboard, HTML pages and PDF files (PDF writing is build into DIAdem, no extra software required). Using Scripts, it is also possible to create Word, Excel or Powerpoint reports from DIAdem automatically.
    5. SCRIPT: The DIAdem scripting tools allows users to record macros or write scripts that automate complete sequences, for the import of data, via extensive analysis, to creating a publication ready report. Scripts can make reports "intelligent" by modifying the appearance of a report based on the data or calculation results that are going to be displayed in the report.
    I recommend you check out the following link for more information: http://www.ni.com/diadem/
    DIAdem is an extremly powerful tool for report generation. I am leaving to go on a business trip to Asia, but I would be more than happy to give you an Web presentation on DIAdem after I have returned. We could use your data and create a DIAdem report Script together online. My Email address is [email protected] and I will be back the week of Thanksgiving.
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • What is the difference between ojvm and client versions?

    Changing the java vm from client to ojvm result in the following error:
    Errormessage:
    java.lang.UnsatisfiedLinkError: no UniqueC in java.library.path
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm FAILS
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm      RUNS OK.
    Project Settings -&gt; Configurations -&gt; Development -&gt;Paths -&gt;Additional Classpath:
    C:\jars\xerces.jar;C:\jars\UniqueC.dll;C:\jars\log4j-1.2.8.jar
    What is the difference between ojvm and client versions? How can I make ojvm to find UniqueC.dll?
    Various version info:
    Output from program:
    java version:1.4.2_01
    java home:C:\programfiler\JAVA\2sdk1.4.2_01\jre
    java vm version:9.0.3.738 cdov
    Taken from JDeveloper Help About:
    Oracle IDE     9.0.3.10.35
    UML Modelers Version     9.0.3.9.4
    Business Components Version     9.0.3.10.7
    java.version     1.3.1_02
    java.vm.name     OJVM Client VM
    java.vm.version     9.0.3.738 o

    However, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.

  • What's the difference between DAQmxCreateCIFreqChan and DAQmxCreateCIPulseChanFreq

    What‘s the difference between DAQmxCreateCIFreqChan and DAQmxCreateCIPulseChanFreq?
    Thanks!

    iMovie enables you to edit video footage - typically from a video camera - add titles, effects, etc.
    iDVD enables you to create an authored DVD of your iMovie, complete with DVD menu, chapters, "extras", etc and can be played in a conventional DVD player.
    20" iMac Intel Core Duo 2GHz 1GB RAM   Mac OS X (10.4.7)  

  • What's the difference between PNG and JPG for exporting .idea files from the Adobe Ideas app?

    What's the difference between PNG and JPG for exporting .idea files from the Adobe Ideas app?
    What situations are better to export to to .PNG or .JPG?
    J

    iPad apps are designed specifically for the iPad and will not run on the iPhone or iPod Touch. iPhone/iPod apps will run on the iPad, but will only take up an iPhone sized portion of the iPad screen (though you get a 2x button which effectively doubles each pixel in both directions so may appear pixelated). There are also 'universal' apps (which have a '+' symbol against them in the store) which have processing in them to recognise the device that they are on and will tailor the display accordingly (so will make use of the iPad's larger screen).

  • What's the difference between Passport and Keyring?

    What's the difference between Passport and Keyring?

    iMovie enables you to edit video footage - typically from a video camera - add titles, effects, etc.
    iDVD enables you to create an authored DVD of your iMovie, complete with DVD menu, chapters, "extras", etc and can be played in a conventional DVD player.
    20" iMac Intel Core Duo 2GHz 1GB RAM   Mac OS X (10.4.7)  

  • What's the difference between iMovie and iDVD?

    What's the difference between iMovie and iDVD?

    iMovie enables you to edit video footage - typically from a video camera - add titles, effects, etc.
    iDVD enables you to create an authored DVD of your iMovie, complete with DVD menu, chapters, "extras", etc and can be played in a conventional DVD player.
    20" iMac Intel Core Duo 2GHz 1GB RAM   Mac OS X (10.4.7)  

  • Is there an easy way to switch mini dvi between monitor and tv?

    I would like to be able to connect my mini's dvi output to a either a monitor or my tv. I am not trying to get a display on both simultaneously. With a DVI to DVI cable between mini and monitor and a dvi to hdmi cable between mini and tv I think that I can swap dvi connections at the mini, but that looks like a pain. Is there an easier way to do this?
    I am about to order the dvi to hdmi cable. Is the mac mini's dvi port hot plugable or do I need to put the mini to sleep or shut down? Thanks,
    Owen

    Welcome to Apple Discussions!
    Without some extra hardware, you can't. The mini, like all Macs, looks for data from the display to determine what settings it makes available to the user, so with two displays connected and feeding their available configurations, the mini will get very confused! Even if the two displays have one or more common settings that will actually work, each time the mini boots or wakes and detects the display, one or other (or both) are likely to go blank.
    There are adaptors you might consider, such as those from Gefen, but they are not inexpensive. Have a look at http://www.gefen.com/kvm/dproductlisting.jsp?listingCategory=Switchers&productTy pe=dvi for a list of available switching options, though beware that for the most part, the need being met is for TWO sources and ONE display, not your ONE source and TWO displays.

Maybe you are looking for

  • My ical will not sync to my iPhone 4s - I do not have iCloud

    Ok, here goes.  I have been doing a lot of searching on this issue and I have not been able to find a solution.  I do not have the iCloud function on my Mac; I am on 10.6.8 and I refuse to pay for a software upgrade, so please no answers telling me t

  • File Problem with path

    File anxmlfile = new File("TheXmlFile.xml");This throws filenotfoundexception while this File ko = new File("D:/Test/TheXmlFile.xml");           works.. the class that opens the file is in the same folder as the xml file. What do i put in the constru

  • Beginner question on labview and transducer

    i'm trying to understand what a transducer does and what labview can do to it. are these assumption correct? 1) with labview, i can change the frequency of sound waves emitted from a ultrasonic transducer. if i want maximum amplitude of the sound wav

  • Spry text fields "invisible" on ie6/ie7

    Hi, Attached is a screen shot of how spry text fields look in their initial state under ie6 and ie7 on a project at www.printingcommunication.com/wa/seattle/contact.html They are "invisible". I'm using Dreamweaver CS4 and spry 1.6.1. I have not made

  • War file does not load drivers.

    Hello All, I have made a web application in jsf framework which runs fine in netbeans on 8084 port. but when I copy the war file in my webapps of tomcat which runs on 8080 port. The login page gets loaded but when I click login to validate user in da