Few things I still don't get...

Hello,

I assume those are very simple things, but for some reason I can’t fix them out. I know those are details, but I hate when something is not working like want to :slight_smile:

  1. My thumbnails don’t have borders and I don’t know how to do that. My config:

[code]Style * IconBox 150x750+3+3, IconFill Top Left

SetEnv fvwm_icon_size 120
DestroyFunc Thumbnail
AddToFunc Thumbnail

  • I PipeRead “echo $[w.id] >> $[FVWM_USERDIR]/.icons”
  • I Raise
  • I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead “$[FVWM_USERDIR]/scripts/thumb $[w.id] $[fvwm_icon_size] /dev/shm/icon.tmp.$[w.id].png $[w.miniiconfile]”
  • I Iconify

DestroyFunc DeThumbnail
AddToFunc DeThumbnail

  • I PipeRead “echo WindowStyle Icon \$\[Icon-$[w.id]\]”
  • I Exec exec rm -f /dev/shm/icon.tmp.$[w.id].png
  • I PipeRead “sed -ie ‘/$[w.id]/d’ $[FVWM_USERDIR]/.icons”

*FvwmEvent: deiconify DeThumbnail

This will remove gaps when de-iconifying an application

AddToFunc DeiconifyAndRearrange

  • C Iconify off
  • C All (CurrentPage, Iconic) PlaceAgain Icon
    AddToFunc IconFunc
  • C DeiconifyAndRearrange
  • M Raise
  • M Move
  • D DeiconifyAndRearrange

This will remove gaps when de-iconifying an application from the keybinding

DestroyFunc DeiconifyAndRearrange2
AddToFunc DeiconifyAndRearrange2

  • I Iconify off
  • I All (CurrentPage, Iconic) PlaceAgain Icon[/code]
  1. Here are two screenshots. First is mine, second is proper one. I assume that’s something with antialiasing, right?

  1. How do I control window title? I think mainly about height, I’d like to put it higher or lower. Where do I control distance from right button?
  2. I use pixmaps for buttons. Pix width is 22px, but as you maybe see on that screenshot - there is 1 or 2 pix distance between those pixmaps. How do I set that?

part of my config:

[code]DestroyDecor DefaultDecor
AddToDecor DefaultDecor

  • TitleStyle RightJustified Height 24

  • TitleStyle Active TiledPixmap decor/under/back.png – Flat

  • TitleStyle InActive TiledPixmap decor/under/back.png – Flat

  • ButtonStyle All InActive ( Colorset 10 – Flat )

  • ButtonStyle All Active ( Colorset 11 – Flat )

  • AddButtonStyle 1 InActive TiledPixmap decor/under/back.png – Flat

  • AddButtonStyle 3 InActive TiledPixmap decor/under/back.png – Flat

  • AddButtonStyle 5 InActive TiledPixmap decor/under/back.png – Flat

  • AddButtonStyle 2 InActive TiledPixmap decor/under/back.png – Flat

  • AddButtonStyle 1 Active TiledPixmap decor/under/close-active.png – Flat

  • AddButtonStyle 3 Active TiledPixmap decor/under/close-active.png – Flat

  • AddButtonStyle 5 Active TiledPixmap decor/under/close-active.png – Flat

  • AddButtonStyle 2 Active TiledPixmap decor/under/close-active.png – Flat

  • BorderStyle Active ( Colorset 4 – Flat )

  • BorderStyle Inactive ( Colorset 3 – Flat )

  • ButtonStyle 1 - Clear

  • ButtonStyle 3 - Clear

  • ButtonStyle 5 - Clear

  • ButtonStyle 2 - Clear

Style * UseDecor DefaultDecor[/code]

I will be very grateful if someone helps me with that.

Cheers!

Look at the style commands: IconBackgroundPadding, IconBackgroundRelief, IconBackgroundColorset

Possibly, or it could just be a decor alignment via the TitleStyle command.

Again, by looking at the TitleStyle command. In a decor the height is either assumed to be taken from whatever the font being used is; or you can override that with something like:

TitleStyle Height 50

– Thomas Adam

Thanks for Your tips, mister! :smiley:

Ultraship,

What font are you using in your titlebar? I like it.

vrs.myftp.org/HandelGotD.ttf

cheers!

many thanks