google-code-export / autobar

Automatically exported from code.google.com/p/autobar
0 stars 0 forks source link

Add an "automatic" popup direction option #293

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
And another direction option for popup buttons "Automatic". It should use the 
direction logical 
for the placement of the bar. 

Pseudo code:
if columns > rows
  -- horizontal bar
  if y < screenhigh / 2 then
    -- nearer top of screen
    direction = bottom
  else
    -- nearer bottom of screen
   direction = top
  end 
else -- rows < colums
  -- vertical bar
  if x < screenwidth / 2 then
    -- nearer left of screen
   direction = right
  else
    -- nearer right of screen
    direction = left
  end
end

Original issue reported on code.google.com by lana...@gmail.com on 23 May 2008 at 4:09

GoogleCodeExporter commented 9 years ago

Original comment by dirk.bes...@gmail.com on 25 May 2008 at 7:02

GoogleCodeExporter commented 9 years ago
This would be really useful, especially as it is hard to find where the 
direction option is in the UI anyway.

Original comment by theonetr...@gmail.com on 26 Feb 2010 at 3:24