Skip to content
Snippets Groups Projects
  1. Dec 19, 2014
  2. Dec 18, 2014
  3. Dec 16, 2014
  4. Dec 15, 2014
  5. Dec 14, 2014
    • DarkGod's avatar
      Fixed dialog size & placement for yesnoLongPopup · 4f19099e
      DarkGod authored
      4f19099e
    • DarkGod's avatar
      Merge branch 'uifix' into 'master' · 6d122cf9
      DarkGod authored
      Fix UI left, right, etc. calculations
      
      While working on statusbox, I've discovered that:
      - absolutely everything dependent adds self.ix, self.iy twice. or thrice. this was masking top= bug, for example.
      - right=ui sets right to ui.x, which usually sets an object flying to the opposite side of the dialog,
      - top=ui sets top edge to be equal to the top edge of the ui, which is probably not what's desired (see left=)
      - bottom=ui has similar problem to right,
      - hcenter=ui sends a ui element flying half a dialog width to the right,
      - vcenter=ui, likewise,
      - and hcenter_left=ui I didn't understand what it's supposed to do.
      
      This commit fixes all of the above, sans the last, and also adds 3 pixels of padding between everything to compensate for buggy yet sometimes desired previous results.
      6d122cf9
Loading