ladybird/Userland/Applications/Browser/Tab.gml
thankyouverycool f7e034d4b2 LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle
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-30 05:49:46 +02:00

40 lines
855 B
Text

@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
spacing: 2
}
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}
}
@GUI::Frame {
name: "webdriver_banner"
style: "SunkenPanel"
preferred_height: "shrink"
foreground_role: "TooltipText"
background_role: "Tooltip"
fill_with_background_color: true
visible: false
layout: @GUI::HorizontalBoxLayout {
margins: [0, 4]
}
@GUI::Label {
text: "This Browser window is controlled by WebDriver."
text_alignment: "CenterLeft"
}
}
@GUI::Widget {
name: "webview_container"
layout: @GUI::VerticalBoxLayout {}
}
@GUI::Statusbar {
name: "statusbar"
}
}