Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Poulpe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
octobus
Poulpe
Commits
f73642c9
Commit
f73642c9
authored
2 months ago
by
Raphaël Gomès
Browse files
Options
Downloads
Patches
Plain Diff
dashboard: fix button trying its best to be vertical
parent
5b2bc2d7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#97118
passed
2 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rust/poulpe-dashboard/src/elements/benchmark_form.rs
+11
-9
11 additions, 9 deletions
rust/poulpe-dashboard/src/elements/benchmark_form.rs
with
11 additions
and
9 deletions
rust/poulpe-dashboard/src/elements/benchmark_form.rs
+
11
−
9
View file @
f73642c9
...
...
@@ -253,15 +253,17 @@
..
Default
::
default
()
})
.add
(|
tui
|
{
let
add_benchmark_button
=
Button
::
new
(
RichText
::
new
(
"Add benchmark"
)
.font
(
FontId
::
new
(
15.0
,
egui
::
FontFamily
::
Proportional
),
));
if
!
has_compatible_data_envs
{
tui
.disabled
()
.ui_add
(
add_benchmark_button
)
}
else
{
tui
.ui_add
(
add_benchmark_button
)
}
tui
.wrap_mode
(
egui
::
TextWrapMode
::
Extend
)
.add
(|
tui
|
{
let
add_benchmark_button
=
Button
::
new
(
RichText
::
new
(
"Add benchmark"
)
.font
(
FontId
::
new
(
15.0
,
egui
::
FontFamily
::
Proportional
),
));
if
!
has_compatible_data_envs
{
tui
.disabled
()
.ui_add
(
add_benchmark_button
)
}
else
{
tui
.ui_add
(
add_benchmark_button
)
}
})
});
let
mut
clicked
=
add_benchmark_button
.clicked
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment