late — 7/21/2025, 3:06:17 AM

hey y’all, right now i’ve been making a website for the past few weeks that is basically a simulated operating system

right now im refactoring the Window component code (because of how awfully it is implemented) and im quite in a dilemma

should the window size be based off the window content, or the actual window? as in, the window content being 150×150 in size, disregarding the titlebar, tablist, footer, etc… or the actual window being 150×150 in size

im just asking this because if i ever implement theming (ex luna-like theme) or anything similar, i dont want to disrupt the content, im currently thinking about option one since i believe its most practical, but i do want to hear other opinions,

(image is possibly pointless)

windows-thing

thanks…………………………………. for hopping by

♥ 9 ↩ 1 💬 5 comments

comments

owl:

One

7/21/2025, 4:51:36 PM
busybird15:

Definitely 2. Makes things easier imo

7/21/2025, 1:01:20 PM
esben:

2

7/21/2025, 8:07:08 AM
theweirdo600:

I think 1

7/21/2025, 6:02:43 AM
-gr:

I think the window size should include the window controls, titlebar and such.

7/21/2025, 3:18:05 AM