Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: note to metacity theme designers

  1. #11
    Join Date
    Oct 2004
    Beans
    956
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: note to metacity theme designers

    Quote Originally Posted by Samy_Merchi
    Scrollbars indeed seem to be Fitt's-aware, but the close button in almost any case is not. You end up always flicking your mouse to the corner, then carefully backing away for a few pixels, instead of just going to the corner. Very very annoying!
    The code above shows fitts aware buttons horizonally. To get them right vertically is possible but very ugly.
    change this
    Code:
    <frame_geometry name="no_borders" parent="normal">
      <distance name="left_width" value="0"/>
      <distance name="right_width" value="0"/>
      <distance name="bottom_height" value="0"/>
      <distance name="left_titlebar_edge" value="2"/>
      <distance name="right_titlebar_edge" value="2"/>
      <border name="title_border" left="0" right="0" top="0" bottom="1"/>
      <border name="button_border" left="0" right="0" top="3" bottom="3"/>
    </frame_geometry>
    to this
    Code:
    <frame_geometry name="no_borders" parent="normal">
      <distance name="left_width" value="0"/>
      <distance name="right_width" value="0"/>
      <distance name="bottom_height" value="0"/>
      <distance name="left_titlebar_edge" value="2"/>
      <distance name="right_titlebar_edge" value="2"/>
      <border name="title_border" left="0" right="0" top="0" bottom="1"/>
      <border name="button_border" left="0" right="0" top="0" bottom="6"/>
    </frame_geometry>
    it is the "button_border" top="3" that is keeping it from being fitts aware in the extreme top 'corner' (above the button). If you change bottom to 0 the button fills the entire titlebar. Again, it works but is extremely ugly. The Windows Desktop is in its very nature ugly, and therefore intented to be 'useable'. Linux supposedly strives to be both usable and appealing to the eye. Bottom line is that it's very hard to achieve both, but there really is no excuse for not at least having the above code, in my previous post, so that the buttons are at least half fitts aware. That is, so that you can at least slap your mouse to the side of the button and be able to close the window without having to come back over the button.
    Last edited by bvc; October 16th, 2005 at 05:55 PM.

  2. #12
    Join Date
    Jun 2005
    Beans
    314

    Re: note to metacity theme designers

    Hey that worked...thank you!

    I'm using brace 2 in metacity

  3. #13
    Join Date
    Oct 2004
    Beans
    956
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: note to metacity theme designers


    1. you can see that the clearlooks theme would look really silly
    2. clearbox would be moderately funny
    3. clearbox is now ugly and doesn't look at all like the theme everywhere else.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •