cogentcore / core

A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.31k stars 71 forks source link

How to set the title for NewSeparator, the ideal position is left-center-right #920

Closed ddkwork closed 4 months ago

ddkwork commented 4 months ago

Describe the feature

see png

Relevant code

No response

ddkwork commented 4 months ago

{57DDB4F3-3862-453b-B2C1-FD27FABB74B1}.png

kkoreilly commented 4 months ago

If you want text above the separator, you can just add it with gi.NewLabel.

ddkwork commented 4 months ago

Thank you, working

---Original--- From: @.> Date: Thu, Feb 29, 2024 23:45 PM To: @.>; Cc: @.>;"State @.>; Subject: Re: [cogentcore/core] How to set the title for NewSeparator, theideal position is left-center-right (Issue #920)

If you want text above the separator, you can just add it with gi.NewLabel.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>