Align(1x)
β¨ Align(1x) β¨
okay bestie, pull up a chair π«Ά this is Align, a page from the AfterStep X11 window manager manual, and it's literally just the whole lore of how your widgets line their stuff up. no cap, it's giving interior design but for windows π
πΈ NAME πΈ
Align β Afterstep Align π
π CONFIGURATION OPTIONS π
so these are all the flags, bestie. read them like a menu, pick your faves β¨
Bottomβ shoves the contents allll the way down to the bottom of the widget. floor vibes. β¬οΈCenterβ puts the contents dead center in the widget. this one is literally justLeft,Right,Bottom,Topall holding hands at once π«ΆHCenterβ horizontally centered, that's it. same energy as combiningLeft,Right. β¬ οΈβ‘οΈHScaledβ scales the contents to the width of the widget. and ooh, if you pair it withLabelWidth, then the width of the text gets used instead of the width of the widget. plot twist πHTiledβ tiles the image so it fills the entire width of the widget. repeating pattern moment πLabelHeightβ this one has to be applied to the background image of the widget. what it does: makes that image get resized (tiled or scaled) to the height of the widget's label β think titlebar text and friends πLabelSizeβ the combo meal: same asLabelWidth,LabelHeighttogether πLabelWidthβ again, has to be applied to the background image of the widget. it makes that image get resized (tiled or scaled) to the width of the widget's label, like titlebar text β¨Leftβ aligns the image, text, or block of buttons to the left side of the widget β¬ οΈNoneβFIXME: add proper description here.π yeah the devs left this one blank, iconic honestlyRightβ aligns the image, text, or block of buttons to the right side of the widget β‘οΈTopβ aligns the image, text, or block of buttons to the top of the widget β¬οΈVCenterβ vertically centered, periodt. same as combiningTop,Bottom. β¬οΈβ¬οΈVScaledβ scales the contents to the height of the widget. and if you use it together withLabelHeight, then the height of the text is used instead of the height of the widget πVTiledβ tiles the image to fill the entire height of the widget. vertical repeat slay π
π¦ the whole vibe of align flags π¦
so, Align flags decide how the contents of the widget get aligned, fr fr.
every single widget gets divided into a grid of 8x8 cells. each of the widget's visible items takes up one of those cells. the widget then tries to figure out the size of every row and column by looking at the size of the visible elements sitting in its cells, plus its align flags. main character math π
heads up bestie: some visible items β like icons, images, text, buttons β can occupy the same cell, and that totally affects the size of it. iykyk π
that's the whole page, no notes π this was Align(1x) from the 3rd Berkeley Distribution, shipping with AfterStep v.2.2.12 β go align something gorgeous, bestie, and remember: center is just four flags in a trench coat π§β¨π
π¦ where this page comes from
- ubuntu jammy: afterstep 2.2.12-15 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms