Align(7x)
π Align(7x) π
okay so bestie, welcome to Align β the AfterStep manual page that tells you how to make your widgets line their stuff up all cute and tidy. yes, we are absolutely doing this. it's giving interior design but for pixels. β¨
πΈ NAME πΈ
Align β Afterstep Align
that's it. that's the name. short, iconic, no notes. π
π CONFIGURATION OPTIONS π
like, here's the whole menu of alignment flags you can throw at your widget. each one is a lil vibe you can pick. π
Bottomβ shoves the contents all the way down to the bottom of the widget. floored. literally.Centerβ puts the contents smack in the middle of the widget. it's the same as doing all ofLeft,Right,Bottom,Topat once, so yeah, everything, all directions, center. π―HCenterβ horizontally centered only. same as the combination ofLeft,Right. side to side, balanced, symmetric, slay.HScaledβ stretches (scales) the contents to the width of the widget. heads up though: if you use this together withLabelWidth, then the width of the text gets used insted of the width of the widget. text takes the wheel. π«ΆHTiledβ tiles that image out to fill the entire width of the widget. repeating pattern energy. πLabelHeightβ this one has to be appplied to the background image of the widget, and what it does is make that image get resized (tiled or scaled) to the height of the widget's label β y'know, like titlebar text. πLabelSizeβ same as the combination ofLabelWidth,LabelHeight. both dimensions, one flag, efficient queen.LabelWidthβ has to be appplied to the background image of the widget too, and it resizes (tiles or scales) that image to the width of the widget's label, like titlebar text again. πLeftβ aligns your image, text, or block of buttons to the left side of the widget. left-aligned and unbothered.NoneβFIXME: add proper description here.π yeah the devs left this one blank, no cap, that's literally what it says. so don't come for me, I'm just the messenger.Rightβ aligns the image, text, or block of buttons to the right of the widget. opposite ofLeft, obviously, main character on the right side. πTopβ aligns the image, text, or block of buttons to the top of the widget. ceiling gang.VCenterβ vertically centers the contents. same as combiningTop,Bottom. up and down, balanced, centered, gorgeous. π¦VScaledβ scales the contents to the height of the widget. but if you pair it withLabelHeight, then the height of the text is used insted of the height of the widget. text is running the show again.VTiledβ tiles the image to fill the entire height of the widget. up and down, forever and ever. π§
β¨ okay so here's how the align flags actually work β¨
Align flags are literally just the rules for how the contents of the widget should be aligned. that's the whole job. π«‘
here's the tea: each widget gets divided into a grid of 8x8 cells. every visible item inside the widget takes up one of those cells. and then the widget tries to figure out the size of each row and each column by looking at two things β the size of the visible elements occupying those cells, and its align flags. so it's all connected, iykyk.
π also keep in mind: some visible items β like icons, images, text, buttons β can occupy the same cell, and when that happens, it affects the size of that cell. so yeah, they're all up in each other's business. π
and that's the whole page, bestie!! you're officially qualified to align things. go make your AfterStep setup pretty. πβ¨
this lil teachable moment was brought to you by the 3rd Berkeley Distribution, and it's all about AfterStep v.2.2.12 β the Align(7x) era, we love her, we respect her, periodt. πππ
π¦ where this page comes from
- ubuntu resolute: afterstep-data 2.2.12-19 Β· GPL-2.0-or-later
- ubuntu stonking: afterstep-data 2.2.12-19 Β· 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