summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/GroupBox.cpp
AgeCommit message (Collapse)Author
2023-05-15LibGUI: Fix bad title alignment in GroupBoxAndreas Kling
Make a separate rect for the text and use IntRect::centered_within() to sidestep any subpixel jitter. This way it looks good with both bitmap and vector fonts.
2023-04-30LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStylethankyouverycool
Previously, Frames could set both these properties along with a thickness to confusing effect: Most shapes of the same shadowing only differentiated at a thickness >= 2, and some not at all. This led to a lot of creative but ultimately superfluous choices in the code. Instead let's streamline our options, automate thickness, and get the right look without so much guesswork. Plain shadowing has been consolidated into a single Plain style, and 0 thickness can be had by setting style to NoFrame.
2023-04-15LibGfx+Userland: Add width_rounded_up() helperthankyouverycool
2023-03-16LibCore+Userland: Add DEPRECATED infix to REGISTER_STRING_PROPERTY macroKarol Kosek
2023-03-04Userland: Use Font::pixel_size_rounded_up() instead of glyph_height()Andreas Kling
The only remaining clients of this API are specific to bitmap fonts and editing thereof.
2023-03-04LibGUI: Paint the GroupBox title with left alignmentAndreas Kling
This fixes an issue where the title would shift around at the subpixel level when appended to. (Only matters for vector fonts.)
2023-03-03LibGUI: Round up font sizes in various widget size calculationsAndreas Kling
2023-01-03LibGfx: Make Font::width() return a floatAndreas Kling
2022-12-05LibGUI: Fix a typoCameron Youell
2022-06-30LibGUI: Add layout change propagation to WidgetFrHun
This function is intended to propagate layout changes upwards in the widget hierarchy. Widgets that can know what to do with this information without causing a full layout invalidation (i.e. just because one of their child widgets changed layout/size, doesn't necessairily mean that they have to change their layout/size) can override this and prevent a full relayout and redraw.
2022-04-09LibGfx: Move other font-related files to LibGfx/Font/Simon Wanner
2022-03-12Libraries: Use default constructors/destructors in LibGUILenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2021-11-11Everywhere: Pass AK::StringView by valueAndreas Kling
2021-11-03LibGUI: Invalidate GroupBox layout on font changeFrHun
2021-11-03LibGUI: Implement content_margins for GroupBoxFrHun
2021-07-20LibGUI: Tweak GUI::GroupBox title text positionAndreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-02-22LibGUI: Ignore glyph dimensions when painting a titleless GroupBoxthankyouverycool
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling