On Wed, Jul 30, 2008 at 2:23 PM, Fabian Jakobs <[EMAIL PROTECTED]> wrote: > Gaetan de Menten schrieb: >> On Wed, Jul 30, 2008 at 10:07 AM, Gaetan de Menten <[EMAIL PROTECTED]> wrote: >> >>> On Wed, Jul 30, 2008 at 9:57 AM, Fabian Jakobs <[EMAIL PROTECTED]> wrote: >>> >>>> Gaetan de Menten schrieb: >>>> >>>>> >From some quick tests using the online demo (I don't have time to test >>>>> it more thoroughly this week) >>>>> - the button to choose which columns are displayed: it used to stay on >>>>> after a click on it, and now if you release the mouse it disappears. I >>>>> preferred the old behavior as it was less confusion-prone. >>>>> >>>>> >>>> I use Sebastian's cool new "qx.ui.form.MenuButton" to render the button >>>> and display the menu. This may behave a little different but still I >>>> can't reproduce your problem. For me the menu doesn't disappear on >>>> mouse up. Which configuration (Browser/OS) do you use? >>>> >>> Linux/firefox 2.0.0.16 >>> >> >> FWIW, the problem comes from the fact that the "menu" (sometimes) >> appears underneath the mouse cursor and not below the button, and as >> such , on mouse up I select or deselect a column. When the menu >> appears at its normal location, the behavior is fine and not >> confusing. >> >> > Now I get it :-) I need to resize the columns so that the column header > stretch along the whole table.
This is also causing a problem, but it is not the one I'm having... Here are two screenshot showing the menu wrongly placed. I guess this issue is probably not specific to the table. It seems to be related to the fact I don't have enough vertical size to hold the whole table/window *when opening the demo* (if I resize the window later on, it seem to work fine), so the small "top margin" gets eaten (as you can see in shot1 if you pay attention to the details), but maybe is not taken into account by the menu positioning code. When I make sure I have enough space for the whole table/window, I can't reproduce the problem. When I play more with moving/resizing the table window inside my "too small" browser window, I can get to the situation where the menu is placed very weirdly, as seen in shot2. As for my initial problem, for example in the first shot, if I click on the lower half of the button, no menu appears and the "id" column disappear. Hope it helps, -- Gaƫtan de Menten http://openhex.org
<<attachment: shot1.jpg>>
<<attachment: shot2.png>>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
