mod(zterm): update dependency and use alignment for top container's text widgets
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 49s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 49s
This commit is contained in:
@@ -40,8 +40,8 @@
|
|||||||
.hash = "122055beff332830a391e9895c044d33b15ea21063779557024b46169fb1984c6e40",
|
.hash = "122055beff332830a391e9895c044d33b15ea21063779557024b46169fb1984c6e40",
|
||||||
},
|
},
|
||||||
.zterm = .{
|
.zterm = .{
|
||||||
.url = "git+https://gitea.yves-biener.de/yves-biener/zterm#aeac4bdc83ffbaa20e7def7fcc3d2a7d25d80bb7",
|
.url = "git+https://gitea.yves-biener.de/yves-biener/zterm#7c9038fbda2daea0a99d97a5e57a906295fb7c0a",
|
||||||
.hash = "1220bed707afded28b20971d960bb7053ed4fc99b9f146be2850838c301b3acbbeae",
|
.hash = "122092a7e98777d1fae535b9e59bb0e4eef0107a1772b2ccb3f7d13e153c5eec0dd3",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
.paths = .{
|
.paths = .{
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ pub fn main() !void {
|
|||||||
var hcontainer = Layout.HContainer.init(allocator, .{
|
var hcontainer = Layout.HContainer.init(allocator, .{
|
||||||
.{
|
.{
|
||||||
Widget.createFrom(header: {
|
Widget.createFrom(header: {
|
||||||
var header = Widget.Text.init(&[1]Cell{
|
var header = Widget.Text.init(.left, &[1]Cell{
|
||||||
.{ .content = "Yves Biener", .style = .{ .bold = true } },
|
.{ .content = "Yves Biener", .style = .{ .bold = true } },
|
||||||
});
|
});
|
||||||
break :header &header;
|
break :header &header;
|
||||||
@@ -57,7 +57,7 @@ pub fn main() !void {
|
|||||||
},
|
},
|
||||||
.{
|
.{
|
||||||
Widget.createFrom(name: {
|
Widget.createFrom(name: {
|
||||||
var name = Widget.Text.init(&[1]Cell{
|
var name = Widget.Text.init(.center, &[1]Cell{
|
||||||
.{ .content = "File name", .style = .{ .bold = true } },
|
.{ .content = "File name", .style = .{ .bold = true } },
|
||||||
});
|
});
|
||||||
break :name &name;
|
break :name &name;
|
||||||
@@ -66,7 +66,7 @@ pub fn main() !void {
|
|||||||
},
|
},
|
||||||
.{
|
.{
|
||||||
Widget.createFrom(contacts: {
|
Widget.createFrom(contacts: {
|
||||||
var contacts = Widget.Text.init(&[1]Cell{
|
var contacts = Widget.Text.init(.right, &[1]Cell{
|
||||||
.{ .content = "Contact", .style = .{ .bold = true, .ul_style = .single } },
|
.{ .content = "Contact", .style = .{ .bold = true, .ul_style = .single } },
|
||||||
});
|
});
|
||||||
break :contacts &contacts;
|
break :contacts &contacts;
|
||||||
|
|||||||
Reference in New Issue
Block a user