diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-02 09:08:40 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-02 09:08:40 +0300 |
commit | 3a84507fec34a3186177611218074e98a64ad106 (patch) | |
tree | 38c4b4904a56c2b18ca3e4ee6227323d2bd3bc9b /src/ui/root.c | |
parent | a14895149fad1724e0f4b4df1fd5834bddc4ead4 (diff) |
LabelWidget: Option to disable min height
Sizing of the embedded indicators in the URL bar requires smaller than default minimum height.
Diffstat (limited to 'src/ui/root.c')
-rw-r--r-- | src/ui/root.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/root.c b/src/ui/root.c index 3661229e..cd6959c4 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -1020,6 +1020,7 @@ void createUserInterface_Root(iRoot *d) { | |||
1020 | setBackgroundColor_Widget(as_Widget(queryInd), uiBackground_ColorId); | 1020 | setBackgroundColor_Widget(as_Widget(queryInd), uiBackground_ColorId); |
1021 | setFrameColor_Widget(as_Widget(queryInd), uiTextAction_ColorId); | 1021 | setFrameColor_Widget(as_Widget(queryInd), uiTextAction_ColorId); |
1022 | setAlignVisually_LabelWidget(queryInd, iTrue); | 1022 | setAlignVisually_LabelWidget(queryInd, iTrue); |
1023 | setNoAutoMinHeight_LabelWidget(queryInd, iTrue); | ||
1023 | addChildFlags_Widget(rightEmbed, | 1024 | addChildFlags_Widget(rightEmbed, |
1024 | iClob(queryInd), | 1025 | iClob(queryInd), |
1025 | collapse_WidgetFlag | hidden_WidgetFlag); | 1026 | collapse_WidgetFlag | hidden_WidgetFlag); |
@@ -1030,6 +1031,7 @@ void createUserInterface_Root(iRoot *d) { | |||
1030 | setId_Widget(as_Widget(fprog), "feeds.progress"); | 1031 | setId_Widget(as_Widget(fprog), "feeds.progress"); |
1031 | setBackgroundColor_Widget(as_Widget(fprog), uiBackground_ColorId); | 1032 | setBackgroundColor_Widget(as_Widget(fprog), uiBackground_ColorId); |
1032 | setAlignVisually_LabelWidget(fprog, iTrue); | 1033 | setAlignVisually_LabelWidget(fprog, iTrue); |
1034 | setNoAutoMinHeight_LabelWidget(fprog, iTrue); | ||
1033 | addChildFlags_Widget(rightEmbed, | 1035 | addChildFlags_Widget(rightEmbed, |
1034 | iClob(fprog), | 1036 | iClob(fprog), |
1035 | collapse_WidgetFlag | frameless_WidgetFlag | hidden_WidgetFlag); | 1037 | collapse_WidgetFlag | frameless_WidgetFlag | hidden_WidgetFlag); |
@@ -1039,6 +1041,7 @@ void createUserInterface_Root(iRoot *d) { | |||
1039 | setId_Widget(as_Widget(progress), "document.progress"); | 1041 | setId_Widget(as_Widget(progress), "document.progress"); |
1040 | setBackgroundColor_Widget(as_Widget(progress), uiBackground_ColorId); | 1042 | setBackgroundColor_Widget(as_Widget(progress), uiBackground_ColorId); |
1041 | setAlignVisually_LabelWidget(progress, iTrue); | 1043 | setAlignVisually_LabelWidget(progress, iTrue); |
1044 | setNoAutoMinHeight_LabelWidget(progress, iTrue); | ||
1042 | addChildFlags_Widget( | 1045 | addChildFlags_Widget( |
1043 | rightEmbed, iClob(progress), collapse_WidgetFlag); | 1046 | rightEmbed, iClob(progress), collapse_WidgetFlag); |
1044 | } | 1047 | } |